Which of the following declaration is illegal?

Question: Which of the following declaration is illegal?

1.char *str = “Best C programming classes by Sanfoundry”;

2.char str[] = “Best C programming classes by Sanfoundry”;

3.char str[20] = “Best C programming classes by Sanfoundry”;

4.char[] str = “Best C programming classes by Sanfoundry”;


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!