Online Test for C++
- ________ is a default access specifier for members of class in C++.
protectedpublicprivatedefault
- C++ actually supports the following two complete dynamic systems?
One defined by C++ and the other not defined by COne defined by C and one specific to C++Both are specific to C++Both of them are improvements of C
- Which of the following is user defined data type?
PublicPrivateClassA & B Both
- What is a size of empty class in c++?
4 bytes2 bytes0 bytes1 bytes
- Member of a class specified as _______ are accessible only to method of the class.
privatepublicprotectedderive
- If class A inherits from more than one class, ie. A inherits from B1, B2,... is called
Single InheritanceMultilevel InheritanceMultiple InheritanceNone of the above
- Who is father of C++ Language?
Dr. E.F. CoddJames A. GoslingBjarne StroustrupDennis Ritchie
- The mechanism that binds code and data together and keeps them secure from outside world is known as
AbstractionEncapsulationInheritancePolymorphism
- Which of the following correctly describes overloading of functions?
Virtual polymorphismTransient polymorphismAd-hoc polymorphismPseudo polymorphism
- Which of the following cannot be passed to a function in C++?
ConstantStructureArrayHeader file
Also Exercise
Post Your Question
Social Sharing
Search
Articles
Recently Added Jobs
Rajasthan High Court - Jodhpur Recruitment 2017 for Civil Judges
Last Date: 21 December, 2017
Last Date: 21 December, 2017
WBSEDCL Recruitment - 2017 for Office Executive
Last Date: 16 May, 2017
Last Date: 16 May, 2017
RECRUITMENT OF PROBATIONARY OFFICERS IN STATE BANK OF INDIA
Last Date: 06 March, 2017
Last Date: 06 March, 2017
UPSC Combined Medical Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015
UPSC Engineering Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015