Vidyalelo
C Programming · Q189

Pointer

Programming · C Programming · question 189

Q189

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));

A.
10
B.
13
C.
Run time error
D.
40
Answer

Answer: Option D

Solution

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