OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024

OOPS

Question 182
Which of the following operators can not be overloaded in C++ ?
A
B
+ =
C
= =
D
: :
Question 182 Explanation: 
→ Scope resolution operator(::) is used to define a function outside a class or when we want to use a global variable but also has a local variable with the same name.
→ Scope resolution operator(::) can not be overloaded.
Correct Answer: D
Question 182 Explanation: 
→ Scope resolution operator(::) is used to define a function outside a class or when we want to use a global variable but also has a local variable with the same name.
→ Scope resolution operator(::) can not be overloaded.

Leave a Reply

Your email address will not be published. Required fields are marked *