I answered a question, If you use wrong format specifier then the behaviour of your code is undefined.
In that question, OP used %lu
format specifier for sizeof
operator.
printf("%lu \n", sizeof(*"327"));
But, I got some comments, %lu
not UB for that code.
So, Is it true for sizeof(*"327")
?