C++14 Quiz
10 questions available • Test your knowledge of modern C++ features
Question 1/10|0/0 correct
true_false.cpp
#Binary Literalsbeginner
// Is this statement true or false?
C++14 introduces binary literals using the 0b or 0B prefix.
int flags = 0b1010; // 10 in decimal
int mask = 0B11110000; // 240 in decimal