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
Is c++ a pure oop language?
Can a new be used in place of old mallocq? If yes, why?
What is the difference between #define debug 0 and #undef debug?
Which programming language's unsatisfactory performance led to the discovery of c++?
Define copy constructor.
What can c++ be used for?
What are the characteristics of friend functions?
Why do we need constructors in c++?
What is else syntax in c++?
Why c++ is not a pure oop language?
What is time h in c++?
Tell me difference between constant pointer and pointer to a constant.
Can I create my own functions in c++?
Can a program run without main function?
What is data type in c++?