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
Carry out conversion of one object of user-defined type to another?
Explain the difference between using macro and inline functions?
What is stack unwinding?
What are maps in c++?
What is the role of static keyword for a class member variable?
What is late binding c++?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
Difference between declaration and definition of a variable.
Is arr and &arr are same expression for an array?
What is the use of namespace std in C++?
Can java be faster than c++?
Can the creation of operator** is allowed to perform the to-the-power-of operations?
How should a contructor handle a failure?
What are the unique features of C++.
Define friend function.