1

Predict the output of following program, assume that a character takes 1 byte and pointer takes 4 bytes.

Correct Answer: sizeof(str1) = 4, sizeof(str2) = 10

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: Predict the output of following program, assume that a character takes 1 byte and pointer takes 4 bytes. | Extra Education