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
Can static member variables be private?
What are multiple inheritances (virtual inheritance)?
What is a linked list in c++?
What is implicit pointer in c++?
What is the difference between the parameter to a template and the parameter to a function?
What are the types of container classes?
Is c++ an integer?
What are libraries in c++?
Which programming language should I learn first?
How many namespaces are there in c++?
What is the maximum value of a unsigned char a) 255 b) 256 c) 128
What is std :: endl?
Difference between struct and class in terms of access modifier.
How do you add an element to a set in c++?
Which is not a valid keyword a) public b) protected c) guarded