1

Correct way to assign values to variable ‘c’ when int a=12, float b=3.5, int c;

Correct Answer: c = a + convert.ToInt32(b);

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: Correct way to assign values to variable ‘c’ when int a=12, float b=3.5, int c; | Extra Education