OOPS
August 29, 2024OOPS
August 29, 2024OOPS
|
Question 182
|
Which of the following operators can not be overloaded in C++ ?
|
∗
|
|
|
+ =
|
|
|
= =
|
|
|
: :
|
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.
→ 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.
→ Scope resolution operator(::) can not be overloaded.
