...
OOPS
November 12, 2023
OOPS
November 12, 2023
OOPS
November 12, 2023
OOPS
November 12, 2023

OOPS

Question 44
Which of the following operators cannot be overloaded in C/C++ ?
A
Bitwise right shift assignment
B
Address of
C
Indirection
D
Structure reference
Question 44 Explanation: 
→ We can’t overload structure reference in C and C++.
→ Bitwise right shift assignment(>>), Address of(&) and Indirection(*) can be overloaded in C and C++.
→ The . (dot) operator and the → (arrow) operator are used to reference individual members of classes, structures, and unions.
Correct Answer: D
Question 44 Explanation: 
→ We can’t overload structure reference in C and C++.
→ Bitwise right shift assignment(>>), Address of(&) and Indirection(*) can be overloaded in C and C++.
→ The . (dot) operator and the → (arrow) operator are used to reference individual members of classes, structures, and unions.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!