i have a question about casting for pointers!
int *pointer = 30000; store address 30000 into pointer
int *pointer2 = pointer; // store address 30000 into pointer2
the above 2 statements are equivalent to....
int *pointer = (int*)30000;
is this statement correct? if not whats the difference! thx