Q.

Which of the following declaration is illegal?

A. char *str = “string Contents”;
B. char str[] = “string Contents””;
C. char str[20] = “string Contents””;
D. char[] str = “string Contents””;
Answer» D. char[] str = “string Contents””;
976
0
Do you find this helpful?
1

View all MCQs in

C Language

Discussion

No comments yet