Answer Posted / naresh
printf is used to print the content to standard output.
this is a predefined function in C.It is included in stdio.h
library
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
In which layer of the network datastructure format change is done
Is fortran faster than c?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
Are local variables initialized to zero by default in c?
How do you determine whether to use a stream function or a low-level function?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
Calculate 1*2*3*____*n using recursive function??
What is the difference between formatted&unformatted i/o functions?
Lists the benefits of c programming language?
What are keywords in c with examples?
What is the meaning of typedef struct in c?
Can a pointer be null?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What does typeof return in c?