1

How to initialize a pointer to an array of 10 char?

Correct Answer: p = (char *) malloc(10 * sizeof(char));

Make the most of this question

This page focuses on one C Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

C Programming MCQs MCQ: How to initialize a pointer to an array of 10 char? | Extra Education