References to printf and scanf are actually resolved by the linker by providing the object code for printf and scanf and other library functions.
In the preprocessing phase only function prototype are included in source code .
So the actual resolving done by linker .
That linking again of two types--
Static linking
Dynamic linking