Write any small program that will compile in "C" but not
in "C++"
Answer Posted / uma sankar pradhan
xyz()
{
printf("very good");
}
the above code will compile in 'c'
but in 'c++' it will give compilation error
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What are the two main components of c++?
Which software is used to run c++ program?
What is data structure in c++?
What programming language should I learn first?
What is c++ namespace?
When to use “const” reference arguments in a function?
Define a pdb file.
What is meant by entry controlled loop?
Is it possible to provide default values while overloading a binary operator?
What are the advantages of using pointers in a program?
How do I exit turbo c++?
How would you find out if a linked-list is a cycle or not?
Explain some examples of operator overloading?
What is a singleton class c++?
What is the use of register keyword with the variables?