Monday, May 24, 2010

Which of the following string declarations contains an error?

a. char String1 [3]="xyz"


b. char String2 [5]="abcd"


c. char String 3 [7]="hello"


d. char String4 [ ] = "world"

Which of the following string declarations contains an error?
C. Variable names must be consecutive names with no spaces.

free survey

No comments:

Post a Comment