Chapter 2 - C++ Programming
True
The escape sequence /r moves the insertion point to the beginning of the next line.
True
The maximum number of significant digits in float values is up to 6 or 7.
True
The maximum number of significant digits in values fo the double type is 15.
four
The memory allocated for a float value is ___ bytes.
...
A mixed arithmetic expression contains all operands of the same type.
double
An example of a floating point data type is ____.
...
Suppose that sum is an int variable. The statement sum += 7; is equivalent to the statement sum = sum + 7.
...
The expression static_cast<int?(9.9) evaluates to ___.
char
Is a reserved word in C++
True
If a C++ arithmetic expression has no parentheses, operators are evaluated from left to right.
program_1
Is a legal identifier.
True
Suppose a = 5. After the execution of the statement ++a; the value of a is 6.
syntax
The ___ rules of programming language tell you which statements are legal, or accepted by the programming language.
3
The value of the expression 17 % 7 is ____.
3
The value of the expression 33/10, assuming both values are integral data types is ____.
'A'
___ is a valid char value.
46259
___ is a valid int value