Live quiz

C Programming - Part 51

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following C code? #include <stdio.h> void main() { char *a[10] = {"hi", "hello", "how"}; int i = 0; for (i = 0;i < 10; i++) printf("%s", a[i]); }

  • A
  • B
  • C
  • D