0

What's the difference between interger variable and pointer varaiable

13th Feb 2022, 11:44 AM
Harikumar M
2 Answers
+ 3
The integer variable has space set aside for an integer. And a pointer holds a memory address
13th Feb 2022, 12:08 PM
Slick
Slick - avatar
+ 1
Additionally it can be the bit size of the two variables as well. Do a sizeof() for each of your variables.
13th Feb 2022, 9:53 PM
William Owens
William Owens - avatar