Vidyalelo
C Programming · Q164

Pointer

Programming · C Programming · question 164

Q164

What will be the output of the following C code on a 32-bit system? #include void main() char *a[10] = "hi", "hello", "how"; printf("%d ", sizeof(a[1]));

A.
6
B.
4
Answer
C.
5
D.
3

Answer: Option B

Solution

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