Question: please do this ASAP 2. Introduction to Pointers Every byte in the computer memory has an address. Addresses are numbers just as they are for
please do this ASAP



2. Introduction to Pointers Every byte in the computer memory has an address. Addresses are numbers just as they are for our homes on a street. When a program is loaded into memory, depending on it size, it occupies a certain range of these addresses. Up to this point we have only been working with memory addresses when we pass variables to functions using a call-by-reference/pass-by-reference approach. When we use call-by-reference, we set the address of the formal parameter equal to the address of the variable we pass in. Pointer variables work in a similar way, except that instead of setting the address of the pointer variable equal to the address of another variable, we store the address of the other variable in the pointer variable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
