1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 11
  4. What does a function return if there is no return statement?

Added 16 Nov 2026

What does a function return if there is no return statement?

  1. 0
  2. None Correct answer
  3. 0
  4. An error

Correct answer

B. None

10 views

MCQSEXAM

Explanation

If a function has no return statement, it returns None. This is a common source of confusion for beginners.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Science FBISE Class 11 MCQs

Practise all Computer Science FBISE Class 11 MCQs

Similar MCQs