Multiple choice

Which of the following is true about 'restrict' type qualifiers in C++?

  1. A restrict pointer ensures the only means by which the object it points to can be accessed.

  2. It ensures that the variable's value may be changed in ways not explicitly specified by the program.

  3. It ensures that we can not change objects of type const during program execution.

  4. It is not defined in C++.

  5. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This is a true statement about 'restrict' type qualifiers in C++.