Answer the following statements true (T) or false (F)

1. A C++ declaration introduces only an identifier's spelling and specifies its type.
2. A C++ declaration is a definition that also allocates storage for an identifier's value (or function's body etc.).
3. The range of values for an int variable is from about 0 to +2 billion.
4. The names x, y, and z are satisfactory variable names for the lengths of the legs
and hypotenuse of a triangle.
5. In C++ you can assign an expression of type int to a variable of type double with no problem.

1. True.
2. True.
3. False
4. False.
5. True.

Computer Science & Information Technology

You might also like to view...

Suppose an array reptiles is ["crocodile", "snake", "turtle", "lizard"]. To replace the second item with "chameleon", use the statement ___.

A. reptiles[1] = "chameleon"; B. reptiles[2] = "chameleon"; C. reptiles[3] = "chameleon"; D. "chameleon" = reptiles[1]; E. "chameleon" = reptiles[2]; F. "chameleon" = reptiles[3];

Computer Science & Information Technology

In the first step of completing an instruction, which is known as _______, the computer reads the next program instruction to be executed, along with any necessary data, into the processor.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology