Which of the following declaration is illegal?
A. char *str = "The quick brown fox jumps over the lazy dog";
B. char str[] = "The quick brown fox jumps over the lazy dog";
C. char str[20] = "The quick brown fox jumps over the lazy dog";
D. char[] str = "The quick brown fox jumps over the lazy dog";
Answer: Option D
Join The Discussion