1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 10
  4. A function in C is:

Added 16 Nov 2026

A function in C is:

  1. A loop
  2. A reusable block of code Correct answer
  3. A variable
  4. A data type

Correct answer

B. A reusable block of code

11 views

MCQSEXAM

Explanation

A function is a reusable block of code that performs a specific task. It can take parameters and return a value. Functions help avoid repetition and make programs modular.

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 10 MCQs

Practise all Computer Science FBISE Class 10 MCQs

Similar MCQs