i want to create a function for printing the input arguments given to it and to get the type of the argument...it's that i shoul not use any predefined functions like printf but i have to create.
i can use only putchar function for diaplating one character at a time

the question is like this:

Implement myprintf(char *fmt, …) function
Handle %d, %x, %c and %s types in fmt string.
You can use putchar...