Answer:
Option d is the correct answer for the above question.
Step-by-step explanation:
In c,c++ or java programming language, when a user declares a variable then that means that a variable is used to take space in memory and When a user assigns the value on that variable then that value is stored on the location of variable in the memory and that variable addressed that value for compiler and memory.
The above question asked that if there are declaration and initialization of a variable then what is held by the variable in the memory. The answer is the value which stated by Option d, hence it is a correct option while other is not because--
- Option 'a' states that the address holds the location of value but it holds the value.
- Option b states that the address holds the memory location of value but it holds the value only.
- Option c states that the address holds the reference value of a value but it holds the value only.