-
Which of the following declaration is illegal?
-
- char[] s = “Best C programming classes by Interview Mania”;
- char s[10] = “Best C programming classes by Interview Mania”;
- char s[] = “Best C programming classes by Interview Mania”;
- char *s = “Best C programming classes by Interview Mania”;
- None of these
Correct Option: A
char[] s is a declaration in Java, but not in C.