What does / do in C++ when used with integers?, Always returns decimal, Integer division (no decimal), Remainder, Power, What is the result of: 10 / 3, 3.33, 3, 4, 1, What is the result of: 10.0 / 3, 3, 3.33, 4, error, What does % do?, Division, Multiplication, Remainder of division, Power, What is the result of: 10 % 3, 3, 1, 0, 10, What happens if you use % with decimals?, 1.5, Works normally, Compile error, 0, What does * do?, Divide, Multiply, Compare, Power, What does ** do in C++?, Power, Multiply twice, Nothing (invalid operator), Bitwise AND, How do you calculate powers in C++?, **, pow(x, y), x ^^ y, x // y, What does && do?, Bitwise AND, Logical AND, Multiply, Compare numbers, What does & do?, Logical AND, Bitwise AND OR address-of operator, Multiply, Compare, What is the result of: True && False, True, False, 0, Error, What type is: 10, float, string, int, bool, What type is: 10.5, float, string, int, bool, What type is: "A", string, char, int, bool, What type is: "Hello", char, string (C-style string / std::string context), int, bool, What type is: true, int, float, bool, string, What is the result of: 5 / 2, 2.5, 2, 3, error, What is the result type of: 5.0 / 2 , 2, 2.5, 3, error, What is the result of: 5 + 2.0, float, string, int, bool, What is the result of "5" + "2" ?, "52", 7, Compile error, "7", What happens here: 5 + "2", 7, "52", Compile error6, 10, What is the result of: 2 * 3 + 4, 14, 10, 20, 24, What is the result of: (2 * 3) + 4, 14, 10, 20, 6, What is the result of: 2 + 3 * 4, 20, 14, 24, 10, What does this return? bool x = (5 > 3);, int, float, bool, string, What is the result of: int x = 5 / 2;, 2.5, 2, 3, error.

C++ Coding Introduction (Operators & Data Types)

par

Classement

Style visuel

Options

Changer de modèle

)
Restauration auto-sauvegardé :  ?