What is the Difference between "printf" and "sprintf"?
Answer Posted / ramanji
printf() is used to send the output to the output consoled
device i.e,monitor
and the sprintf() is send the output to the specified file
that will be given in the parameters
| Is This Answer Correct ? | 8 Yes | 11 No |
Post New Answer View All Answers
Write a program to find the Factorial of a number
What is private public protected in c++?
Out of fgets() and gets() which function is safe to use and why?
Declare a class vehicle and make it an abstract data type.
What is the type of 'this' pointer? When does it get created?
How do you clear a set in c++?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
What is private, public and protected inheritance?
What is the use of string in c++?
Explain one-definition rule (odr).
Is c++ low level?
What is nested class in c++?
How is new() different from malloc()?
Is c++ a programming language?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..