Search Header Logo

C++ set4

Authored by ESPARK 2023

Other

University

Used 6+ times

C++ set4
AI

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

Media Image

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

Media Image

How many times 'its a while loop' should be printed?

1

2

0

infinite

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?