Basics of a C++ programming language
English
Elementary
A simple C++ test for beginners to consolidate the basics of this programming language.
Description
Tags
30
Questions
1 min
Per question
4:00
Average time
3.0
Contest Score
6
Participants
Unfortunately, this test will not be able to receive a prize:
Too many missing explanations. More than 10 explanations simply repeat the correct answer. E.g.
#q1
#q4
#q8
#q11
#q12
#q13
#q14
#q17
#q18
#q22
#q30
the line with "new" operator calls the constructor too, so technically there are two correct answers.
"What will be the output of a shown code?" (#7)
"age" variable was not declared
"Which of these operators cannot be overloaded?"
asterisk can be overloaded as a binary operator or as a dereference operator, so the question is confusing
"What is the correct syntax for declaring a pointer?"
I see what you meant here, but "country" can be pointer to string too, so technically there are two correct answers