#include int main() { short int i = 20; char c = 97; printf(\"%d, %d, %d\\n\", sizeof(i), sizeof(c), s
As others have told, sizeof is computed at compile-time.
Here, value of the expression c + i integer, as c and i are promoted (integral promotion) to int and thus
c + i
sizeof( c + i )
gives you 4 bytes on 32-bit machine..