Why this code doesn't work?
<code>
char string[10];
strcat( string, "hello" );
puts ( string );
</code>
and why when i write
<code>
char string[10] = "";
strcat( string, "hello" );
puts ( string );
</code>
it will work?
Could you also tell me the difference between char string[10]; and char string[10] = ""; ?
And why this problem won't appear when using strcpy() ????
Mena meny thx - Polor