Chapter 2 - C++ Programming

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

...

Suppose that sum is an int variable. The statement sum += 7; is equivalent to the statement sum = sum + 7.

True

The escape sequence /r moves the insertion point to the beginning of the next line.

...

The expression static_cast<int?(9.9) evaluates to ___.

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 ____.

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


संबंधित स्टडी सेट्स

Microbiology Final Exam GMU BIOL 246

View Set

Các từ lóng tiếng Anh mà teen Mỹ hay dùng

View Set

AP Human Geography: MDC Monuments Test

View Set

Automotive Final Flashcards(ENGINER&R,PAINTING,BOLTID)

View Set

Worksheets 1 + 2 _ Webster City US history

View Set

Anthropology and the Study of Culture

View Set

Chapter 14 section 1 and section 2

View Set

Davis Advantage Chp 10 Older Adult

View Set

Chapter 10: Documentation and Communication

View Set