C Language : Pointers

Which of the following declaration is illegal? , Which of the following declaration is illegal?

Which of the following declaration is illegal?




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



Explanation
char[] str is a declaration in Java, but not in C.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad