18.01.2012, 17:21
Pointers are a type of variable that points to another variable. With that, we can save alot of memory and make our job way easier like:
So hey's value and whatever you put as an argument (int) will become zero.
pawn Код:
int make_a_zero(int *var)
{
*var = 0;
return 0;
}
main()
{
int hey = 1212;
make_a_zero(&hey);
}