Vidyalelo
C Programming · Q97

Structure and Union

Programming · C Programming · question 97

Q97

Which option should be selected to work the following C expression? string p = "HELLO";

A.
typedef char [] string;
B.
typedef char *string;
Answer
C.
typedef char [] string; and typedef char *string;
D.
Such expression cannot be generated in C

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board