When using the sizeof I always enclose it in parentheses, as it's a bit easier for me to read, even if I can sometimes omit it, in the first case below
sizeof unary-expression
sizeof ( type-name )
My question is how does the parentheses disambiguate things to the compiler? What would be an example where something like:
sizeof char
Would be ambiguous to a compiler?