+ 1

Can someone explain exactly wat *ptr is clearly please

25th Jun 2021, 11:38 AM
Jeremiahgustusjunior
Jeremiahgustusjunior - avatar
1 Answer
+ 3
it's a pointer. pointers are really just memory addresses, remember the whole "int x; scanf("%d", &x);"? well if 'x' is a variable, than '&x' is the memory address where the integer variable is located. just go alomg with the lessons and do some reading
25th Jun 2021, 12:12 PM
Slick
Slick - avatar