Would you like to submit the test?

C++ Questions And Answers Sample Test 3


Sample C++ Test 3 for you to Practice. Evaluate your C++ Test 3 test answering skills by trying the online C++ Sample Test 3 and know your score.

C++ Test 3


You have scored 3 out of 10
You Scored:2
Total Questions:2
Attended Questions:2
Correct Answered:2
1. Which of the following statements is correct?





2. Which of the following are available only in the class hierarchy chain?





3. Which of the following statement is correct?





4. Which of the following are NOT provided by the compiler by default?





5. Reference is like a _____.





6. What will happen if a class is not having any name?





7. Which of the following statement is correct?





8. Which of the following statements is correct about the constructors and destructors?





9. Which of the following is an invalid visibility label while inheriting a class?





10. Which of the following statement is correct?





11.
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.





12. Which of the following statement is correct?





13. Which of the following statement is incorrect?





14. A reference is declared using the _____ symbol.





15. A union that has no constructor can be initialized with another union of __________ type.





16. Constructors __________ to allow different approaches of object construction.





17.
Which of the following statements is correct?

A reference is not a constant pointer.
A referenced is automatically de-referenced.





18. Which of the following operators cannot be overloaded?





19. Which one of the following options is correct?





20. Which of the following statements regarding inline functions is correct?





21. Which of the following can be overloaded?





22. Which of the following means "The use of an object of one class in definition of another class"?





23.
Which of the following statement is incorrect?





24. Where the default value of parameter have to be specified?





25.
Which of the following statements is correct?

Change a reference changes the referent.
We can create an array of references.





26. Which of the following statement is incorrect?





27. Constructor is executed when _____.





28. Which of the following statement is correct?





29. Which of the following gets called when an object goes out of scope?





30. Which of the following statement will be correct if the function has three arguments passed to it?







FreshersLive - No.1 Job site in India. Here you can find latest 2017 government as well as private job recruitment notifications for different posts vacancies in India. Get top company jobs for both fresher and experienced. Job Seekers can get useful interview tips, resume services & interview Question and answer. Practice online test free which is helpful for interview preparation. Register with us to get latest employment news/rojgar samachar notifications. Also get latest free govt and other sarkari naukri job alerts daily through E-mail.