In C does printf(""); function call another routine for system call like WriteFile(...); for windows in order to display characters on output console?
It has to at some point ask the OS to write characters to a file or console. That much is certain.
Yeah, that is certain but I am just trying to know what exact system call does it use for Windows platform for which one is WriteFile(..) function.
It might even be somewhat compiler dependent. This isn't something that a programmer really should be worrying about. May I ask what the motivation for this question is?
Sorry for the late reply, I got busy with school and work. Yeah, so the reason is that I am currently taking an Operating Systems class and was curious about this.
But, thanks for your response.
Join our real-time social learning platform and learn together with your friends!