Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dumb Pointer Question

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
What is the difference (if any) between the following
int* a
int *a


 
There's no difference.
there is however if you write :
int* a,b,c where you want a,b and c do be pointers
this is incorrect and must be
int *a, *b, *c;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top