what is deffirence between int *g=5; int g; | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is deffirence between int *g=5; int g;

l dont know what mean l sow it is asame

28th Jul 2017, 10:44 AM
[No Name]
1 Answer
0
int *g is pointer.a pointer keeps the memory addresses of the variables but a variable keeps the value itself.
28th Jul 2017, 11:44 AM
Yusuf Saylam
Yusuf Saylam - avatar