New course! Every coder should learn Generative AI!
Try a free lesson0
What's the difference between interger variable and pointer varaiable
2 Answers
+ 3
The integer variable has space set aside for an integer. And a pointer holds a memory address
+ 1
Additionally it can be the bit size of the two variables as well.
Do a sizeof() for each of your variables.