What is the Difference between "printf" and "sprintf"?
Answer Posted / praveen
printf writes the data to console
sprintf writes the data to an array
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
How much do c++ programmers make?
Explain the benefits of proper inheritance.
Describe exception handling concept with an example?
Which programming language's unsatisfactory performance led to the discovery of c++?
When do you call copy constructors?
How does a copy constructor differs from an overloaded assignment operator?
What do you mean by storage classes?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
Explain selection sorting?
Is linux written in c or c++?
How important is c++?
What do you mean by static variables?
Differentiate between the manipulator and setf( ) function?
Explain what is polymorphism in c++?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort