Functions in C++ MCQs Test Online PDF Download

Functions in c++ multiple choice questions, learn online c++ test prep for IT degree online courses. Learn functions in c++ multiple choice questions (MCQs), functions in c++ quiz questions and answers. Career test prep on inline functions, header files, standard c library functions aptitude test for online C++ for beginners courses distance learning.

Practice functions in c++ aptitude test MCQs: a called function can return control to caller if, for free online computer science courses with options the function does not return a value, if that function has no value in expression, if program ends successfully for online IT degree programs. Free skills assessment test is for online learning functions in c++ quiz questions with MCQs, exam preparation questions and answers.

MCQ on Functions in C++ Quiz PDF Download

MCQ: () parenthesis in a function call

  1. is actually an operator in C++
  2. Causes the function to be called
  3. Causes syntax error
  4. Both A and B

D

MCQ: A called function can return control to caller if

  1. The function does not return a value
  2. If that function has no value in expression
  3. If program ends successfully
  4. All of them

A

MCQ: To declare identifiers for variables and functions of static storage class, which keywords are used?

  1. extern keyword
  2. static keyword
  3. global keyword
  4. Both A and B

D

MCQ: Which function is known as standard library function?

  1. maths
  2. main
  3. sqrt
  4. void

B

MCQ: A function in C++ that does not return a value is declared with

  1. Empty return type
  2. Void return type
  3. Endl return type
  4. Getchar return type

B