Give three naming conventions for pointers. Describe another possible method for naming pointers.

What will be an ideal response?


Three naming conventions for pointer variables are: 1) “p” as a prefix, such as pCounter; 2) “_ptr” as a suffix, such as Counter_ptr; or 3) “p_” as a prefix, such as p_counter. Other possible methods for naming pointer variables are using “P” as a prefix or suffix, or spelling out the word “pointer.”.

Computer Science & Information Technology

You might also like to view...

Which loop structure always executes at least once?

a. do-while b. for c. while d. sentinel

Computer Science & Information Technology

To choose a theme, click the Theme button in the Themes group on the Page layout tab

Indicate whether the statement is true or false

Computer Science & Information Technology

The 4-pin 12V power supply connector is used to power the _______

Fill in the blank(s) with correct word

Computer Science & Information Technology

A Web __________ is based on an HTML source document that is stored as a file on a Web server.

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

Computer Science & Information Technology