1

What happens if we execute the following code in C and C++?

Correct Answer: The program returns an error in C but works perfectly in C++.

Make the most of this question

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

C++ MCQs MCQ: What happens if we execute the following code in C and C++? | Extra Education