C++ Programming - References - Discussion

Discussion Forum : References - General Questions (Q.No. 1)
1.
Which of the following statement is correct?
A reference is stored on heap.
A reference is stored on stack.
A reference is stored in a queue.
A reference is stored in a binary tree.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
25 comments Page 3 of 3.

ABC said:   1 decade ago
Stack memory used by automatic variables, so this answer will true.

Mahesh Hirpara said:   1 decade ago
What say not possible reference stored on stack ? when it possible?

Sunil brahmajosyula said:   1 decade ago
@valsala shukla.

Even pointers should be stored in queue?

Bindu said:   1 decade ago
Reference type stored in heap not stack.
(1)

Arpita sahoo said:   1 decade ago
What is constant?


Post your comments here:

Your comments will be displayed after verification.