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 ? | 17 Yes | 3 No |
Post New Answer View All Answers
What is ios :: in in c++?
What is c++ in english?
What are the advantages of c++?
What is the basic structure of a c++ program?
What is null pointer and void pointer and what is their use?
What is the difference between global int and static int declaration?
What is the use of register keyword with the variables?
What is the hardest coding language to learn?
What is the disadvantage of using a macro?
How a macro differs from a template?
Mention the ways in which parameterized can be invoked. Give an example of each.
Explain virtual class and friend class.
What is c++ library?
what is Loop function? What are different types of Loops?
What is Destructor in C++?