Hello,
How would I assign a pointer an arbitrary random value like 1234. I want to re point the pointer I don't want to change the value it is pointing to.
I tried and cant really get much to compile. I got this to compile but it doesn't work right:
int *a=0;
int b;
for(b=0;b<1234;b++)
a++;
I was thinking I could create two pointers and point one to the other and reassign that way but I cant get it to compile like this:
int *a;
int *b;
b=&a;
*b=0;
Any help appreciated.
Sean