Pointers and Arrays on C related Questions and Answers


Question :   An array of strings can be initialized by _________
1. char *a[] = {“Hello”, “World”};
2. char *a[] = {“Hello”, “Worlds”};
3.
char *b = "Hello";char *c = "World";char *a[] = {b, c};


4. All of the mentioned
Answer :   4 - All of the mentioned  


* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter