davyzhu
Advanced Member level 1
Difference between char x[4]={"my"}; and char x[4]; x={"my"}; in C
Hi all,
I found
can be compiled.
But
can not be compiled.
Why?
Any suggestions will be appreciated!
Best regards,
Davy
Hi all,
I found
Code:
char x[4]={"my"};
But
Code:
char x[4];
x={"my"};
Why?
Any suggestions will be appreciated!
Best regards,
Davy