what is the diff between the printf and sprintf functions??
and what is the syntax for this two functions ??
Answer Posted / guest
printf statement print the result with comment
sprintf statement print the string
Syntax
printf(" ");
sprintf(object name[argument]);
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What are the advantages and disadvantages of pointers?
What is strcpy() function?
What is the significance of an algorithm to C programming?
What are the advantages of using new operator as compared to the function malloc ()?
What are the rules for the identifier?
What the different types of arrays in c?
What is c++ used for today?
Why is sprintf unsafe?
What does c mean in standard form?
What is a built-in function in C?
How are variables declared in c?
What is a program flowchart and explain how does it help in writing a program?
What is pivot in c?
What is enumerated data type in c?
What does double pointer mean in c?