Search Header Logo

C++ Intermediate

Authored by PRG TRAINER GLID

Computers

Professional Development

Used 5+ times

C++ Intermediate
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which declaration is valid?

extern static int mVar;

auto static int mVar;

static const int mVar;

static extern int mVar;

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the result on the console screen?

0

unknown value

compile error

runtime error

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the result on the console screen?

0

10

unknown value

compile error

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

sizeof(long long) is equal to (windows 32-bits) ... byte.

8

16

32

“long long” is not valid type

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which one is NOT correct about structure?

function of structure is valid only in C++

in C, struct contents variable/const only

in C++, by default, all of struct member are public

in C, struct allow single inheritance only

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is the result on the console screen?

0

10

unknown value

runtime error

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

Value of FALL is:

0

3

17

0x100

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?