TITLE: does C++ - C amount to 0 PROBLEM: peinel@faw.uni-ulm.de (Gertraud Peinel) char str[3] = "abc"; RESPONSE: Dan.Pop@mail.cern.ch (Dan Pop) is illegal. Never heard about the final '\0' ? You need 4 characters for "abc" !!!!!! RESPONSE: stephen.clamage@eng.sun.com, 27 Sept 95 This is crossposted to comp.lang.c, where he is dead wrong, and to comp.lang.c++, where he is dead right. :-) In C, you need not provide room for the implied trailing null in the literal string. In C++ you must. [ I always avoid the problem by using the following char str[] = "abc"; -adc ]