Basics on C++ related Questions and Answers

Question 1 : Const qualifier can be applied to which of the following?
i) Functions inside a class
ii) Arguments of a function
iii) Static data members
iv) Reference variables
1. i, ii and iii
2. i, ii, iii, and iv
3. ii, iii and iv
4. i only
View Answer   Discuss with Members

Question 3 : Which of the following syntax can be used to use a member of a namespace without including that namespace?
1. namespace::member
2. namespace->member
3. namespace.member
4. namespace~member
View Answer   Discuss with Members

Question 5 : Which of the following operator(s) can be used with pointers?
i) – only
ii) +, *
iii) +, –
iv) +, -, *
v) /
vi) + only
1. i only
2. vi only
3. ii and v
4. iv
View Answer   Discuss with Members

Question 10 : How many types of polymorphism are there?
1. 1
2. 2
3. 3
4. 4
View Answer   Discuss with Members


View 1 - 10 of 81 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter