engineering computer science MCQ #2162

The `register` keyword is used to

engineering computer science MCQ #2162

  1. Question 1

    Q1. The `register` keyword is used to

    • A) declare a variable that is stored in a register
    • B) declare a constant variable
    • C) make a function inline
    • D) allocate memory dynamically

    Answer: declare a variable that is stored in a register

    Explanation: register keyword is a hint to the compiler to store the variable in a register.