J
john
Is it possible to convert a pointer value to an int?
like this:
int *ptr = &blah;
int address = (int)ptr;
And is is legal to do:
printf("%d %d", ptr, &blah);
?
like this:
int *ptr = &blah;
int address = (int)ptr;
And is is legal to do:
printf("%d %d", ptr, &blah);
?