The general syntax to declare a pointer variable is ____.

A. dataType &identifier;
B. *dataType identifier;
C. &dataType identifier;
D. dataType *identifier;


Answer: D

Computer Science & Information Technology

You might also like to view...

Calc uses arguments to evaluate a formula

Indicate whether the statement is true or false

Computer Science & Information Technology

The frameset page contains ____ tags that mark the beginning and the end of frame definitions.

A. and B. and C. and D. and

Computer Science & Information Technology

To test whether a character is one of ‘0’, ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, or ‘9’, use the _______ standard library function.

a. isnumber b. isnotalpha c. isnumeric d. isdigit e. all of the above

Computer Science & Information Technology

What does the following code do?

FileInputStream fis = new FileInputStream("test.dat"); a. It creates a new file named test.dat if it does not exist and opens the file so you can write to it. b. It creates a new file named test.dat if it does not exist and opens the file so you can write to it and read from it. c. It creates a new file named test.dat regardless of whether it exists or not and opens the file so you can write to it. d. It creates a new file named test.dat regardless of whether it exists or not and opens the file so you can write to it and read from it. e. It creates a FileInputStream for test.dat if test.dat exists.

Computer Science & Information Technology