← Back to context Comment by ramchip 6 months ago That's a pointer to an integer. 2 comments ramchip Reply 1718627440 6 months ago Yes. You claimed you can't have pointers to a variable. I showed how to have a pointer to a variable of type integer. ramchip 6 months ago If you dereference it you get back an integer, not a variable. A variable is a name that identifies a value; the pointer points to the value, not to the name.
1718627440 6 months ago Yes. You claimed you can't have pointers to a variable. I showed how to have a pointer to a variable of type integer. ramchip 6 months ago If you dereference it you get back an integer, not a variable. A variable is a name that identifies a value; the pointer points to the value, not to the name.
ramchip 6 months ago If you dereference it you get back an integer, not a variable. A variable is a name that identifies a value; the pointer points to the value, not to the name.
Yes. You claimed you can't have pointers to a variable. I showed how to have a pointer to a variable of type integer.
If you dereference it you get back an integer, not a variable. A variable is a name that identifies a value; the pointer points to the value, not to the name.