Question
|. All operators can be overloaded in C++.
||. We can change the basic meaning of an operator in C++.
a.
Only I is true.
b.
Both I and II are false.
c.
Only II is true.
d.
Both I and II are true.
Posted under Data Structures and Algorithms
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following is correct about the statements given below? |. All operators can be overloaded in C++. ||. We can change the basic meaning of an operator in C++.
Similar Questions
Discover Related MCQs
Q. What happens if the base and derived class contains definition of a function with same prototype?
View solution
Q. Which of the following are available only in the class hierarchy chain?
View solution
Q. Which of the following is not a type of inheritance?
View solution
Q. Which of the following operators cannot be overloaded?
View solution
Q. In which of the following a virtual call is resolved at the time of compilation?
View solution
Q. Which of the following statements regarding inline functions is correct?
View solution
Q. Which one of the following is the correct way to declare a pure virtual function?
View solution
Q. Which of the following header file includes definition of cin and cout?
View solution
Q. Which of the following keyword is used to overload an operator?
View solution
Q. What will happen if a class is not having any name?
View solution
Q. Which inheritance type is used in the class given below? class A : public X, public Y {}
View solution
Q. Which one of the following is correct about the statements given below?
|. All function calls are resolved at compile-time in Procedure Oriented Programming.
||. All function calls are resolved at compile-time in OOPS.
View solution
Q. Which of the following is an invalid visibility label while inheriting a class?
View solution
Q. Which one of the following options is correct?
View solution
Q. Which of the following statements is correct in C++?
View solution
Q. Which of the following is used to make an abstract class?
View solution
Q. Which of the following access specifier is used as a default in a class definition?
View solution
Q. What is correct about the static data member of a class?
View solution
Q. Which of the following provides a reuse mechanism?
View solution
Q. Which of the following statement is correct?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Data Structures and Algorithms? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!