Pointers for a beginner

PearlJam

Expert Member
Joined
Jan 22, 2006
Messages
2,181
Reaction score
15
Location
Johannesburg
Is there a reputable site/source that has all the basic pointers for a beginner just to start off with?
 
/* Im a bit rusty its been ages since I last done this but here goes... */


int a=10 , b =15;

int *aptr, *btpr;

aptr = &a;
btpr = &b;

*aptr = 50;


/* a should now be 50 and b still be 15. Does that help?.... is my syntax still correct */
:D
 
Top
Sign up to the MyBroadband newsletter
X