engineering computer science MCQ #2156

The `const` keyword in C is used to

engineering computer science MCQ #2156

  1. Question 1

    Q1. The `const` keyword in C is used to

    • A) declare a variable that can be modified
    • B) declare a constant variable
    • C) make a function inline
    • D) make a pointer point to a constant

    Answer: declare a constant variable

    Explanation: const keyword is used to declare variables that cannot be modified. NET computer science MCQs often test this core concept.