Monday, July 27, 2009

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.

hibiscus

No comments:

Post a Comment