Q:

Predict the Output of the following code:

0

Predict the Output of the following code:

#include <stdio.h>
    void main()
    {
        char *a[10] = {"hi", "hello", "how"};
        printf("%d\n", sizeof(a));
    }

  1. 30
  2. 40
  3. 20
  4. 10

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

40

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now
What will be the output of the following program:... >>
<< Which of the following comments about arrays and p...