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
The statement, int(*x[]) () what does in indicate?
Explain what is the benefit of using const for declaring constants?
What is a structure member in c?
If the size of int data type is two bytes, what is the range of signed int data type?
Explain what is the benefit of using #define to declare a constant?
what are the different storage classes in c?
What is a pointer in c?
Are local variables initialized to zero by default in c?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is 1f in c?
What is conio h in c?
In C language, a variable name cannot contain?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year