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

The first element in array called cellPhones is referenced by ____.

A. cellPhones[0] B. cellPhones[1] C. cellPhones(0) D. cellPhones(1)

Computer Science & Information Technology

What command would be used to check the time a packet takes for each hop along its destination path?

A) ping 127.0.0.1 B) tracert C) ipconfig D) nslookup

Computer Science & Information Technology

Code ________ is the step in which a programmer physically types the code into the computer.

A. editing B. creation C. testing D. compiling

Computer Science & Information Technology

A _______ is a private data network that makes use of the public telecommunications infrastructure, which maintains privacy through the use of tunneling and security procedures.

A. VPN B. network C. VLAN D. private line E. dial-back

Computer Science & Information Technology