why sizeof (int)(*p) is not compilable by gcc?
I thought sizeof, (int) and * has the same order of precedence and the association should be right to left, but
sizeof (int)(*p) is wrong.
I have to use sizeof ((int)(*p)) instead.
Also, sizeof (int) *p is interpreted as (sizeof(int) )* p instead of sizeof ((int)(*p)) as I expected. Any reason?
Thanks for any tips