Write any small program that will compile in "C" but not
in "C++"
Answer Posted / nitesh
ans 3 and 4 are incorrect in my opinion.
xyz()
{
printf("very good");
}
can be compiled by including the header file "Stdio.h"
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What is ios in c++?
What does override mean in c++?
Write my own zero-argument manipulator that should work same as hex?
What flag means?
If a function doesn’t return a value, how do you declare the function?
Explain terminate() function?
Write a function that swaps the values of two integers, using int* as the argument type?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
What is a block in c++?
What is c++ used for in games?
What is srand c++?
What is using namespace std in c++?
Write a program which employs Recursion
Which operations are permitted on pointers?
Which is most difficult programming language?