MCQ
If a function doesn't have a return statement, which of the following does the function return?
  • A
    int
  • B
    null
  • none
  • D
    An exception is thrown without the return statement

Answer

Correct option: C.
none

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free