Which of the following declarations are illegal?
A. void *ptr;
B. char *str = “hello”;
C. char str = “hello”;
D. const *int p1;
Answer:C
Which of the following declarations are illegal?
A. void *ptr; B. char *str = “hello”; C. char str = “hello”; D. const *int p1;