int *ptNum = &miles; is ____.

A. always valid
B. never valid
C. only valid if miles is declared as an integer variable before ptNum is declared
D. only valid if miles is declared as an array of integers before ptNum is declared


Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following is not true about setw and width?

a. If the width set is not sufficient the output prints as wide as it needs. b. They are used to set the field width of output. c. Both of them can perform two tasks, setting the field width and returning the current field width. d. They only apply for the next insertion/extraction.

Computer Science & Information Technology

Which of the following is NOT one of the four major functions of a computer?

a. input b. processing c. indexing d. storage

Computer Science & Information Technology

In small animations, the number of frames varies, but commonly includes from ____ frames.

a. 5 to 50 b. 10 to 100 c. 25 to 250 d. 50 to 500

Computer Science & Information Technology

If a table is in 1NF and only has one field in the primary key, it automatically is in 2NF.

a. true b. false

Computer Science & Information Technology