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
Explain public, protected, private in c++?
Should I learn c++ c?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
What is a local reference?
What is the latest c++ standard?
What is the difference between reference and pointer?
What is pointer to array in c++?
Will this c++ program execute or not?
What is scope operator in c++?
What is general format for a prototype?
What does extern mean in a function declaration in c++?
Can c++ be faster than c?
Define whitespace in C++.
Can we get the value of ios format flags?
Describe private, protected and public – the differences and give examples.