Comment on The 5-minute Guide to C PointersparentComments−pjmlp14y> For me it is the syntax used by C for pointers that makes it confusing.Personally I don't see much difference between * (C way), ^ (Pascal way) or ref (Algol way).Or do you mean the declaration order ?int* ptr; (right to left)ptr = ^Integer /ref int ptr (left to right)−aerique14yYes, it is probably the declaration order which confuses me.
Comments
> For me it is the syntax used by C for pointers that makes it confusing.
Personally I don't see much difference between * (C way), ^ (Pascal way) or ref (Algol way).
Or do you mean the declaration order ?
int* ptr; (right to left)
ptr = ^Integer /ref int ptr (left to right)
Yes, it is probably the declaration order which confuses me.