what is the main difference between c and c++?
Answer Posted / krushna priya nath
A function can be declared in C as int fun();. This means
that fun()is a function without any argument or any number
of arguments.But in C++, this means that the function with
no argument at all.
| Is This Answer Correct ? | 613 Yes | 267 No |
Post New Answer View All Answers
Why is there no multiple inheritance?
Can enum be null?
What is protected in oop?
How oops is better than procedural?
Why is destructor used?
What is a class oop?
Can we have inheritance without polymorphism?
What is overriding vs overloading?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is the difference between abstraction and polymorphism?
Whats is abstraction in oops?
what is graphics
What is advantage of inheritance?
Why do we use polymorphism in oops?
Where is pseudocode used?