Chapter 7: Problem 10
Suppose you have the following array declaration in your program: int your_array[7]; Also, suppose that in your implementation of \(\mathrm{C}++,\) variables of type int use two bytes of memory. When you run your program, how much memory will this array consume? Suppose that when you run your program, the system assigns the memory address 1000 to the indexed variable your_array \([\theta]\) What will be the address of the indexed variable your_array[3]?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.