Exam 2: Basic Elements of C

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

The ____________________ type is C++ 's method for allowing programmers to create their own simple data types.

(Short Answer)
4.9/5
(40)

Which of the following is a reserved word in C++?

(Multiple Choice)
4.7/5
(40)

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

(True/False)
4.8/5
(39)

A(n) ____________________ is a memory location whose contents can be changed.

(Short Answer)
4.8/5
(36)

Suppose that sum and num are int variables and sum = 5 and num = 10. After the statement sum += num executes, ____.

(Multiple Choice)
4.8/5
(42)

Which of the following is the newline character?

(Multiple Choice)
4.8/5
(37)

The declaration int a, b, c; is equivalent to which of the following?

(Multiple Choice)
4.8/5
(31)

____________________ functions are those that have already been written and are provided as part of the system.

(Short Answer)
4.8/5
(37)

The smallest individual unit of a program written in any language is called a(n) ____________________.

(Short Answer)
4.9/5
(27)

An operator that has only one operand is called a unique operator.

(True/False)
4.9/5
(37)
Showing 41 - 50 of 50
close modal

Filters

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