1.

To declare an array S that holds a 5-character string, you would write(A) char S[5](B) String S[5](C) char S[6](D) String S[6]

Answer»

Correct option -(A) char S[5] 

Explanation:-

A string is nothing but a char array. 



Discussion

No Comment Found

Related InterviewSolutions