Write any small program that will compile in "C" but not
in "C++"
Answer Posted / sauarv
answer no.. 6 is the most correct solution
as the class is a keyword in c++
but for answer 9 ,,ur prediction is correct that it will give error in c++ ,,although ur reason is not right
printf n csanf are not c specific
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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 kind of problems can be solved by a namespace?
Is there a sort function in c++?
What does it mean to declare a destructor as static?
What are the main features of c++?
What is the basic difference between C and C++?
What can c++ be used for?
What are the advantages of c++? Explain
What is a template in c++?
What is istream and ostream in c++?
What is name hiding in c++?
Can non graphic characters be used and processed in C++?
How do you clear a set in c++?
Is it possible for the objects to read and write themselves?
What is the use of dot in c++?