Question: 1. Variable of which type would be more suitable to use for storing the number of students in a class? Int, Double, Char, String 2.
1. Variable of which type would be more suitable to use for storing the number of students in a class? Int, Double, Char, String
2. Variable of which type would be more suitable for storing speed of a car? Int, Double, Char, String
3. C++ uses PEMDAS (Parentheses, Exponents, Multiplication/Division, Addition/Subtraction) rule for the order of the arithmetic operations. True or False
4. In C++ all arithmetic operation have the same precedence. This means that in the expression 12 + 5 * 4, we first add 12 and 5, and then, multiply the sum by 4, which will give 68. True or False.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
