
C++ set4
Authored by ESPARK 2023
Other
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Total types of constructors in C++ are?
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The C++ code which causes abnormal termination/behaviour of a program should be written under _________ block.
catch
throw
try
finally
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the option below which is not a member of clas
Static Function
Friend Function
Virtual Function
Const Function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the output of the following program.
1
3
2
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what will be output of following c++ code snippet
Dcon DDest
Dcon DDest BCon BDest
BCon DCon DDest BDest
BCon DCon BDes DDest
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times 'its a while loop' should be printed?
1
2
0
infinite
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about the following program
This maintains encapsulation
This code does not maintain encapsulation
This code is vulnerable
This code gives error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?