C++ Quiz
English
Mittelstufe
How well do you know C++? This output-based and multiple-choice quiz will test your knowledge of this programming language.
Beschreibung
Schlagwörter
30
Fragen
3 Min
Pro Frage
10:05
Durchschnittliche Zeit
4,2
Ergebnis des Wettbewerbs
4,3
Community-Bewertung
139
Teilnehmer
1. Educational explanations. 👍 Explanations cover why the correct answers are correct and why the wrong answers are wrong (when appropriate). E.g.: #q30, #q1, #q29
2. Well-used and self-made media. 👍 E.g.: #q1, #q12, #q15
Well technically & is also a bitwise and operator, which can be applied to rvalues.
1) Second operand of fstream constructor must be ios::in | ios::out, not ios::in || ios::out (one vertical bar, not two)
2) All types: fstream, ifstream, and ofstream can be answers: https://ideone.com/YmoH7h