Quiz 2

Ace your homework & exams now with Quizwiz!

The _____ causes the contents of another file to be inserted into a program.

#include directive

What is the modulus operator?

%

Which of the following would be an illegal variable name?

3dGraph

In a C++ program, two slash marks ( // ) indicate:

The beginning of a comment

You must have a ___________ for every variable you intend to use in a program.

definition

A character literal is enclosed in ________ quotation marks, whereas a string literal is enclosed in ________ quotation marks.

single, double

This function in C++ allows you to identify how many bytes of storage on your computer system an integer data value requires.

sizeof

These are used to declare variables that can hold real numbers.

Floating point data types

Which data type typically requires only one byte of storage?

char

The ______ is/are used to display information on the computer's screen.

cout object


Related study sets

FCCLA FCSA - Education & Training 2019

View Set

What is the Output of the function?

View Set

Ch. 42 Gas Exchange & Circulation

View Set

Chapter 39: Nursing Care of the Child With an Alteration in Sensory Perception/Disorder of the Eyes or Ears

View Set

America: A Narrative History chapter 19

View Set