Vidyalelo
C Programming · Q215

Pointer

Programming · C Programming · question 215

Q215

What will be the output of the following C code? #include int main() char a[2][6] = "hello", "hi"; printf("%d", sizeof(a)); return 0;

A.
9
B.
12
Answer
C.
8
D.
10

Answer: Option B

Solution

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