
PA2 - 1 - Přetěžování, reference, const
Authored by Jan Matoušek
Computers
University
Used 2+ times

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
Co vypíše tento program?
Nic, nepůjde zkompilovat.
int
str
Program spadne.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co vypíše tento program?
Nic, nepůjde zkompilovat.
int
str
Program spadne.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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
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
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
Co vypíše tento program?
Nic, nepůjde zkompilovat.
mutable
const
Program spadne.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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

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?