1

Observe following function declaration and choose the best Ans:: int divide ( int a, int b = 2 )

Correct Answer: Variable b will have value 2 if not specified when calling function

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: Observe following function declaration and choose the best Ans:: int divide ( int a, int b = 2 ) | Extra Education