Answer the following questions true (T) or false (F)
1. A pointer is a variable that holds the address of some other location in memory.
2. Pointer variables are just memory addresses and can be assigned to one another without regard to type.
1. True
Explanation: Computer memory is composed of addressable chunks of information called bytes. A pointer value is the memory address stored in a pointer variable.
2. False
Explanation: A pointer variables, like everything else in C++ is typed, and that typing is enforced strongly. A pointer variable of type double* cannot normally hold a pointer value of type int* for example.
You might also like to view...
The statement Declare MyArray[8,6] allocates __________ consecutive storage locations in the computer’s internal memory.
Fill in the blank(s) with correct word
____ are important in procurement operations, because they enforce oversight and control and they let the customer coordinate contract review activities, interfaces, and communication with the supplier organization.
A. Audits B. Assessments C. Reviews D. Certifications
What is one way you can improve your ability to provide meaningful estimates?
A. keep a daily journal of how long each code module takes to code B. exagerate more hours C. let someone else estimate D. work as long as it takes to make the deadlines
Discuss why it is important to maintain good programming habits.
What will be an ideal response?