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
Describe the advantages of operator overloading?
How can I learn dev c++ programming?
Explain how to initialize a const member data.
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
Will rust take over c++?
What is the difference between a template and a macro?
How a macro differs from a template?
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.
In a function declaration, what does extern mean?
What is the full name of logo?
What is object oriented programming (oop)?
What is called array?
What is object file? How can you access object file?
Can we distribute function templates and class templates in object libraries?
What is the use of endl in c++?