I see "printf" instruction in sample codes of c language for microcontroller particularly in 8051. Since microcontrollers has no fixed output display what is the use of the "printf" instruction?
More likely than not, so you can attach a debugging console, either through an RS232 port, or as virtual output from an in-circuit emulator.