Q150
Which of the following are generated from char pointer?
A.
char *string = "Hello.";
AnswerB.
char *string;
scanf("%s", string);
scanf("%s", string);
C.
char string[] = "Hello.";
D.
char *string = "Hello."; and char string[] = "Hello.";
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board