placeholder image to represent content

Chapter 15

Quiz by Sandhya

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
11 questions
Show answers
  • Q1

    Fill in the blanks:

    (a) Any C++ program contains at least .................. function(s).

    (b) After each function has done a job, control returns to ..................

    (c) The declaration of a function in the calling program is known as a function ..................

    (d) In a program, the function can be called in two ways .................. and ..................

    (e) When the return type is not specified, the default return type of function is ..................

    (f) To return the control back to the calling function, we use the keyboard ..................

    (g) In an .................. function, looping is not allowed.

    Users enter free text
    Type an Answer
    30s
  • Q2

    There is a limit on the number of functions that might be present in a C++ program.

    false
    true
    True or False
    30s
  • Q3

    A variable which is declared inside the function is called global variable.

    false
    true
    True or False
    30s
  • Q4

    When function is not returning anything, return type is void.

    true
    false
    True or False
    30s
  • Q5

    An inline function is preferred when its size is small.

    true
    false
    True or False
    30s
  • Q6

    In call by reference, any change made in the object inside the function will reflect in the value of the actual object.

    true
    false
    True or False
    30s
  • Q7

    A C ++ program can have more than one function with the same name.

    true
    false
    True or False
    30s
  • Q8

    Inline is a keyword in C++ programming language.

    false
    true
    True or False
    30s
  • Q9

    An inline function must be defined before it is called.

    true
    false
    True or False
    30s
  • Q10

    Any function in C++ can be declared as inline function.

    false
    true
    True or False
    30s
  • Q11

    It is necessary to specify the variable name in the function prototype

    false
    true
    True or False
    30s

Teachers give this quiz to your class