C++ Quiz
English
متوسط
How well do you know C++? This output-based and multiple-choice quiz will test your knowledge of this programming language.
الوصف
الوسوم
30
سؤالًا
3 د
للسؤال
10:05
متوسط الزمن
4٫2
نتيجة المسابقة
4٫3
تقييم المجتمع
139
مشاركًا
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