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 you know about structures in C++?
Define the process of handling in case of destructor failure?
What is function overloading in C++?
Is multimap sorted c++?
Can a new be used in place of old mallocq? If yes, why?
Explain the difference between c++ and java.
Do we have to use initialization list in spite of the assignment in constructors?
Define a constructor - what it is and how it might be called (2 methods)?
How many static variables are created if you put one static member into a template class definition?
What is constructor and destructor in c++?
Explain selection sorting. Also write an example.
what kind of projects are suitable for c and c++
an integer constant must have atleast one a) character b) digit c) decimal point
How to tokenize a string in c++?
What are the various access specifiers in c++?