But C syntax clearly hints to int *p being the expected format.
Otherwise you would only need to do int* p, q to declare two pointers… however doing that only declares p as pointer. You are actually required to type * in front of each variable name intended to hold a pointer in the declaration: int *p, *q;
Int *p is unreadable, unreasonable, and bad programming.
Why so? It’s what it actually is
But C syntax clearly hints to
int *p
being the expected format.Otherwise you would only need to do
int* p, q
to declare two pointers… however doing that only declaresp
as pointer. You are actually required to type*
in front of each variable name intended to hold a pointer in the declaration:int *p, *q;
That’s because C was designed by a fool.
What, could you have done better in 70-whatever?
The fools who created Unix
And C!