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
Explain the difference between c & c++?
Implement stack operations with pointers with appropriate exception checks.
Can user-defined object be declared as static data member of another class?
What is a null object in c++?
Differentiate between a constructor and a destructor in c++.
What operator is used to access a struct through a pointer a) >> b) -> c) *
What are the comments in c++?
What is data binding in c++?
How the keyword struct is different from the keyword class in c++?
Show the declaration for a static function pointer.
What is jump statement in C++?
How do you initialize a string in c++?
What programming language should I learn first?
What is main function in c++ with example?
Why are pointers not used in c++?