Multiple choice technology programming languages

Which of the following is not a valid keyword:

  1. public

  2. protected

  3. guarded

  4. None of the Above

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

C++ has three access specifiers: public, private, and protected. 'Guarded' is not a valid keyword in C++. This tests knowledge of basic C++ access control keywords.