K
Keith Thompson
Jan Engelhardt said:Given that <stdio.h> was included, the return type of printf is int,
and an int in turbo C is a 16-bit entity.
Given that <stdio.h> *wasn't* included, the compiler assumes that any
unrecognized function returns an int. See my other response on this
thread.
Try again on a modern compiler and you should get 4.
It depends on the system.