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

After you have been working on a paragraph for a while, most likely some lines will have become too short and others too long. Is there a command to “neaten up” the paragraph without rebreaking all the lines by hand?

What will be an ideal response?

Computer Science & Information Technology

In ActionScript 3.0, the ____ programming concept is described as the attributes of an object.

A. methods B. variables C. properties D. parameter

Computer Science & Information Technology

The default alignment setting in the Normal template is Justified

Indicate whether the statement is true or false

Computer Science & Information Technology

Which option is used with iptables to zero the byte counter of a chain?

A. -F B. -L C. -X D. -Z

Computer Science & Information Technology