a. char String1[3] = "xyz";
b. char String2[5] = "abcd";
c. char String4[ ] = "world"
Which of the following string declarations contains an error?
char String1[3]="xyz" is wrong. The correct declaration is char String1[4]="xyz"
Nelson Bittencourt
See my site:
http://www1.webng.com/nbittencourt/index...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment