MCQs Practice Portal

Interactive quizzes, exam prep, and practice tests for learners and developers.

C C++ MCQ Quiz Hub

Browse questions and answers for the C++ Programming - Functions quiz.

Which of the following function prototype is perfectly acceptable?

✅ Correct Answer: 1

Which of the following statement is correct?

✅ Correct Answer: 3

Which of the following statement is correct?

✅ Correct Answer: 3

Which of the following statement is correct?

✅ Correct Answer: 4

Which of the following statement will be correct if the function has three arguments passed to it?

✅ Correct Answer: 1

Which of the following statement is incorrect?

✅ Correct Answer: 3

Which of the following statement is correct?

✅ Correct Answer: 1

Which of the following function / type of function cannot be overloaded?

✅ Correct Answer: 3

Which of the following function declaration is/are incorrect?

✅ Correct Answer: 4

Which of the following statement is incorrect?

✅ Correct Answer: 4

Where the default value of parameter have to be specified?

✅ Correct Answer: 3

Which of the following statement is correct?

✅ Correct Answer: 3

Which of the following statement is incorrect?

✅ Correct Answer: 2

Which of the following statement is correct?

✅ Correct Answer: 1

Which of the following function / types of function cannot have default parameters?

✅ Correct Answer: 2

Which of the following statement is correct?

✅ Correct Answer: 1