Write any small program that will compile in "C" but not
in "C++"
Answer Posted / aravind
xyz()
{
printf("very good");
}
this is correct and if u add getch();
in main then there is no chance of compilation in CPP for sure
| Is This Answer Correct ? | 3 Yes | 11 No |
Post New Answer View All Answers
Define Virtual function in C++.
What do you mean by delegate? Can a user retain delegates?
How delete [] is different from delete?
Define anonymous class.
Are vectors passed by reference c++?
How does com provide language transparency?
What is the best it certification?
What is operator overloading in c++ example?
What do you mean by function and operator overloading in c++?
What is class invariant in c++?
What is pointer to array in c++?
Is linux written in c or c++?
Differentiate between a constructor and a method in C++.
What are the differences between malloc() and calloc()?
Is there any difference between int [] a and int a [] in c++?