← BYTES
C·Starter·Ref: 7.1.8
How do you declare a pointer variable named p that points to an int?
Have a question about this video? Mention reference 7.1.8 when you contact us.
a.int *p;
b.int p*;
c.pointer int p;
d.int& p;
The asterisk binds to the variable name in a declaration: `int *p;` declares p as a pointer to int. (`int& p;` is C++ reference syntax, not valid C.)
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES718#C