Exam 2: Basic Elements of C++

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Suppose that alpha and beta are int variables.The statement alpha = beta++; is equivalent to the statement(s)____.

(Multiple Choice)
4.8/5
(76)

In a C++ program,____________________ are used to separate special symbols,reserved words,and identifiers.

(Short Answer)
5.0/5
(82)

The expression static_cast<int>(6.9)+ static_cast<int>(7.9)evaluates to ____.

(Multiple Choice)
4.8/5
(81)

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

(True/False)
4.8/5
(86)

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

(True/False)
4.7/5
(86)

Which of the following is a legal identifier?

(Multiple Choice)
4.8/5
(58)

The memory allocated for a float value is ____ bytes.

(Multiple Choice)
4.9/5
(94)

The memory space for a(n)____________________ data value is 64 bytes.

(Short Answer)
4.9/5
(79)

The maximum number of significant digits is called the ____________________.

(Short Answer)
4.9/5
(72)

Suppose that alpha and beta are int variables and alpha = 5 and beta = 10.After the statement alpha *= beta; executes,____.

(Multiple Choice)
4.9/5
(85)
Showing 41 - 50 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)