Which of the following declaration is illegal?
A. char *str = “Best C programming classes by HackerThink”;
B. char str[] = “Best C programming classes by HackerThink”;
C. char str[20] = “Best C programming classes by HackerThink”;
D. char[] str = “Best C programming classes by HackerThink”;
Answer:D
Which of the following declaration is illegal?
A. char *str = “Best C programming classes by HackerThink”; B. char str[] = “Best C programming classes by HackerThink”; C. char str[20] = “Best C programming classes by HackerThink”; D. char[] str = “Best C programming classes by HackerThink”;