Examveda

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


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals