Help with derefrence member.
Why do you need to declare a pointer? Can't you just assign the pointer without declaring it to a type. Like this
Why do you have to declare a pointer in a type. Why you can't just do this without declaring a pointer. Like so.
1 2 3
|
int p;
int d;
*p = d;
|
Why can't you just do it like so?
Topic archived. No new replies allowed.