i am writing code for printf function which we use in commonly for i/o operation in c language.
basic:
definition
int printf(char *arg1,...);