Online Test for C++
- Important advantage of using new and delete operators in C++ is
Allocation of memoryFrees the memory previously allocatedAllocation of memory and frees the memory previously allocatedInitialization of memory easily
- Which of the following statements is correct?
First time method of a class is called, the constructor method is called.Every time method of a class is called, the constructor method is called.Every time an instance of a class is created, the constructor method is called.None of the above
- A Class can have how many destructor?
1234
- Which of the following operators can not be overloaded in C+ +?
*==+=::
- Who is father of C++ Language?
Dr. E.F. CoddJames A. GoslingBjarne StroustrupDennis Ritchie
- In C++ every statement end with?
Colon (:)Comma (,)Dot (.)None of the above
- What features make C++ so powerful?
Easy implementationCode reusabilityEasy memory managementAll the above
- What is pointer?
The variable that stores the reference to another variableThe variable that stores reference of garbage variableThe variable that stores the memory address of another variableA & C Both
- In how many ways is polymorphism achived in C++?
2314
- ________ is a default access specifier for members of class in C++.
protectedpublicprivatedefault
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