Question: 8.0 Suppose you have the following array declaration in your program: int your_array[7]; Also suppose that in your implementation of C++, variables of type int
8.0 Suppose you have the following array declaration in your program: int your_array[7]; Also suppose that in your implementation of C++, variables of type int use two bytes of memory. When you run your program, how much memory will this array consume? Suppose when you run your program, the system assigns memory address 1000 to the indexed variable your_array[0]. What will be the address of the indexed variable your_array[3]?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
