Write any small program that will compile in "C" but not in
"C++"?
Answer Posted / nousilal badavath
int new;//allowed in c but not in c++ because in c++
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Is c++ a high level language?
When should you use global variables?
Is c++ a good beginners programming language?
What does iomanip mean in c++?
List different attributes in C++?
What is encapsulation in C++? Give an example.
How to declare a pointer to an array of integers?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
Write a function that swaps the values of two integers, using int* as the argument type?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
Does improper inheritance have a potential to wreck a project?
What are smart pointers?
Which is better turbo c++ or dev c++?
Explain the different access specifiers for the class member in c++.
What is null c++?