a) Encapsulation b) Polymorphism c) Inheritance d) Abstraction Answer: c Explanation: Inheritance allows you to reuse ...
View QuestionWhich of the following is called address operator?
a) % b) * c) _ d) & Answer: d Explanation: & operator is called address operator and is ...
View QuestionA language which has the capability to generate new data types are called ________________
a) Overloaded b) Extensible c) Reprehensible d) Encapsulated Answer: b Explanation: Languages that can produce/generate new data types are ...
View QuestionHow structures and classes in C++ differ?
a) In Structures, members are public by default whereas, in Classes, they are private by default b) Structures by ...
View QuestionWhat are the actual parameters in C++?
a) Parameters with which functions are called b) Parameters which are used in the definition of a function
View QuestionWhich of the following is used for comments in C++?
a) /* comment */ b) // comment c) // comment */ d) both // comment or /* comment */
View QuestionWhich of the following is called insertion/put to operator?
a) < b) > c) << d) >> Answer: c Explanation: << operator is called insertion or put to ...
View QuestionWhich of the following is a correct identifier in C++?
a) 7var_name b) $var_name c) VAR_1234 d) 7VARNAME Answer: c Explanation: The rules for writing an identifier is : 1) ...
View QuestionWhat are the formal parameters in C++?
a) Parameters with which functions are called b) Parameters which are used in the definition of the function
View QuestionWhich of the following is called extraction/get from operator?
a) < b) > c) << d) >> Answer: d Explanation: >> operator is called extraction or get from ...
View Question