And what about this? Isn't this an array assignment?
C Interview Questions and Answers
(Continued from previous question...)
And what about this? Isn't this an array assignment?
Q: And what about this? Isn't this an array assignment?
char a[] = "Hello, world!\n";
A: No, that's an initialization. You are allowed to initialize arrays when you define them.
(Continued on next question...)
Other Interview Questions
|