aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C++ Object Oriented Programming Fundamentals
  • In C++, which operator is used to access a global object ...
Multiple choice

In C++, which operator is used to access a global object or global data or static data member which is defined outside the class?

  1. : [Colon operator]

  2. :: [Scope resolution operator]

  3. . [Dot operator]

  4. -> [Arrow operator]

  5. & [Reference operator]

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

This operator is used to access a global object or global data or static data member.

Keep practicing — related questions

  • Which of the following operators is used in C++ to define a member function of a class outside the class?
  • Which of the following operators below allow to define the member functions of a class outside the class?
  • By using which operator member can ' function of a class' be defined outside the class?
  • Which of the following is NOT a use of the scope resolution operator (::) in C++?
  • Which of the following operators is used in providing a global scope form the variable?
  • Which of the following operators is used to define the class methods, physically outside the class?
  • Which of the following member dereferencing operators is used to access a member using a pointer to the obj...
  • The _____________ operator is used to define a member function outside the class declaration using the clas...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Object-Oriented Programming (2239 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy