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
What gives the current position of the put pointer?
How do I run a program in notepad ++?
Const char *p , char const *p What is the difference between the above two?
Explain the pure virtual functions?
What is the default access level?
Define a pointer to a data member of the type pointer to pointer?
Why is standard template library used?
Is swift better than c++?
In a function declaration, what does extern mean?
What are the rules about using an underscore in a c++ identifier?
How can I learn c++ easily?
Can we get the value of ios format flags?
What is the use of "new" operator?
What is the use of typedef?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?