Write any small program that will compile in "C" but not
in "C++"
Answer Posted / pulkit dave
void main()
{
int class=28;
printf("%d",class);
}
it works...
[class] :p
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
What is abstract class in c++?
Is c++ an oop?
What is the full name of logo?
What are the uses of c++ in the real world?
Why is c++ considered difficult?
Tell me can a pure virtual function have an implementation?
Define whitespace in C++.
How would you differentiate between a pre and post increment operators while overloading?
Explain the operation of overloading of an assignment operator.
What is c++ coding?
What is null pointer and void pointer?
What does iomanip mean in c++?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
Can I learn c++ without c?
How can I learn c++ easily?