![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
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””; |
View all MCQs in
C LanguageNo comments yet