D
D
Denis Bredun2020-07-18 20:25:12
C++ / C#
Denis Bredun, 2020-07-18 20:25:12

What is a link?

A very, very stupid question, but the whole joke is not entirely in the concept, as in understanding the small details of the meaning of the concept. Is an object reference an object on the stack that holds the address of a location in memory, or is it the address on the stack? So the question is: an object with an address or the address itself?
This is not about pointers, but about links that are created when an object of a reference type is created.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alekseyHunter, 2020-07-18
@Luffy1

The stack reference for an object will represent the address of the heap location where the object is located.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question