what is the main difference between c and c++?
Answer Posted / praveen kumar maande
To simply say c with classes is called as c++.c does not support classes, where as c++ is mainly designed to support data security which can be achieved using classes.one more difference is c++ supports exception handling which c does not support.we can access both local and global variables if the are defined by same name using scope resolution operator in the same scope itself where as c doesn't support this.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How long to learn object oriented programming?
What is abstraction in oops with example?
What is object in oop?
Whats is abstraction in oops?
What is oops with example?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is the fundamental idea of oop?
Can private class be inherited?
Why do we use polymorphism?
How oops is better than procedural?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What are the data types in oop?
• What are the desirable attributes for memory managment?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
explain sub-type and sub class? atleast u have differ it into 4 points?