1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 10
  4. The keyword used to define a constant in C is:

Added 16 Nov 2026

The keyword used to define a constant in C is:

  1. var
  2. const Correct answer
  3. let
  4. static

Correct answer

B. const

8 views

MCQSEXAM

Explanation

const defines a variable whose value cannot be changed after initialisation. #define is a preprocessor directive for macros. Using const improves safety and readability.

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