Which of the following declaration is illegal? = “Best C programming classes by Sanfoundry”; c) char str = “Best C programming classes by Sanfoundry”; d) char str = “Best C programming classes by Sanfoundry”;

Correct Answer:
char str is a declaration in Java, but not in C.