|
From: Luigi S. <gi...@li...> - 2003-02-27 18:08:18
|
OK, guys, it's clear now.
I'm a bit less concerned, because I do not use the notation
char s[3] = "abc";
but have learned to use one of the safer ones:
char *s = "abc";
or
char s[] = "abc";
That is the reason why the piece of code seemed correct to me.
Of course the following is correct both in C89 and C++98, isn't it?
char s[3] = { 'a', 'b', 'c' };
--
>> gisan >>
|