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 is use of malloc and calloc?
Explain how can I convert a number to a string?
Explain how many levels deep can include files be nested?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
Explain the difference between call by value and call by reference in c language?
using for loop sum 2 number of any 4 digit number in c language
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
Why do we need a structure?
Is c object oriented?
What are pointers in C? Give an example where to illustrate their significance.
What is echo in c programming?
Write the syntax and purpose of a switch statement in C.
When should we use pointers in a c program?
What is c definition?
What is c programing language?