Which of the following statements about pointer initialization is true?

A. Pointer constants can only point to constants.
B. Pointer constants can only be initialized to null pointers.
C. Pointer constants are automatically set to null by the compiler.
D. The data variable must be declared before it can be used for pointer initialization. 
E. To initialize a pointer to the address of a variable, the variables identifier is suffixed with the indirection operator (*).


Answer: D

Computer Science & Information Technology

You might also like to view...

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

1. The kernel is the outer most layer of the operating system, and it is the only layer that interacts with the user. 2. ASCII code is one of the code schemes used to represent characters in a byte. 3. Mb is about one million bytes. 4. Gb is about one billion bytes. 5. Virtual memory is another name for the secondary storage devices.

Computer Science & Information Technology

Which of the following data items are arranged from the smallest to the largest in the data hierarchy.

a. records, characters, fields, bits, files. b. bits, files, fields, records, characters. c. fields, characters, bits, files, records. d. bits, characters, fields, records, files.

Computer Science & Information Technology

________ can be incorporated into other macros by using the RunMacro or OnError actions, but cannot be executed directly from the Navigation Pane

Fill in the blank(s) with correct word

Computer Science & Information Technology

?Digital subscriber line comes in a variety of formats. Often collectively referred to as ____.

A. ?ADSL B. ?CDSL C. ?SDSL D. ?xDSL

Computer Science & Information Technology