B
Bilbo
Hello everybody.
What does an (int *) type of variable mean?
Thanks
Derek
What does an (int *) type of variable mean?
Thanks
Derek
Bilbo said:Hello everybody.
What does an (int *) type of variable mean?
Thanks
Derek
This is correct but maybe leaves the OP wondering "what is the point ofSam Jervis said:You use (int *) like this:
int a;
int *p;
a = 42;
p = &a; /* p now contains the memory location of a */
*p = 21; /* a now contains the value 21 */
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.