+ 1

what is the use of pointer? someone explain it to me like im 6 years old please.

10th Jun 2020, 12:55 PM
Zihan Sabah
Zihan Sabah - avatar
7 ответов
+ 5
If somebody wants to see your house, do you take your house with you and show them, or instead point them to the address of your house?
10th Jun 2020, 1:10 PM
Bobby Fischer
Bobby Fischer - avatar
+ 4
I want to see your house. Do you bring your house with you? No. Why? Because it is too big, and you can’t access it right away. So instead of showing me the big house, you tell me your address. That address is a pointer. It points to an object that is your house.
10th Jun 2020, 2:13 PM
Bobby Fischer
Bobby Fischer - avatar
+ 1
when they want to see my house?
10th Jun 2020, 1:59 PM
Zihan Sabah
Zihan Sabah - avatar
0
whenever they need to see it
10th Jun 2020, 2:02 PM
Bobby Fischer
Bobby Fischer - avatar
0
im not getting my answwr. when they need to see it? an example perhaps
10th Jun 2020, 2:03 PM
Zihan Sabah
Zihan Sabah - avatar
0
im not getting my answer. when they need to see it? an example perhaps
10th Jun 2020, 2:04 PM
Zihan Sabah
Zihan Sabah - avatar