Home » C Programming » Pointers » Question
  1. An array of strings can be initialized by _________.
    1. char *ch1 = "Interview";
      char *ch2 = "Mania";
      char *ch3[] = {ch1, ch2};
    2. char *ch[] = {“Interview”, “Mania”};
    3. char *a[] = {“Interview”, “Mania”};
    4. All of above
    5. None of these
Correct Option: D

An array of strings can be initialized by using option A, B and C.



Your comments will be displayed only after manual approval.