Search Header Logo

PA2 - 1 - Přetěžování, reference, const

Authored by Jan Matoušek

Computers

University

Used 2+ times

PA2 - 1 - Přetěžování, reference, const
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Co vypíše tento program?

Nic, nepůjde zkompilovat.

int

str

Program spadne.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Co vypíše tento program?

Nic, nepůjde zkompilovat.

int

str

Program spadne.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Jakou hlavičku musí mít funkce f, aby program vypsal 42?

void f

(int n)

void f

(int * n)

void f

(const int & n)

void f

(int & n)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Jakou hlavičku musí mít funkce f, aby program NEŠEL zkompilovat?

void f

(int n)

void f

(int * n)

void f

(const int & n)

void f

(int & n)

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Zvolte nejvhodnější hlavičku funkce f.

void f

(DataBuffer buf)

void f

(DataBuffer * buf)

void f

(const DataBuffer & buf)

void f

(DataBuffer & buf)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Co vypíše tento program?

Nic, nepůjde zkompilovat.

mutable

const

Program spadne.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Co vypíše tento program?

Nic, nepůjde zkompilovat.

5

Něco jiného.

Program spadne.

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?