difference between c and c++?
Answer Posted / shivani
In c:Data is global and accessible to all the function of
the program without any restriction so,any function can
change the data which reduce the data security and
integrity.
In c++:Data and associated functions are binded together
into a single unit called object so the data of any object
can only be accessible by the function of that object
which protect data from unauthorized access ,thus
maintaning the data security and integrity.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why use of template is better than a base class?
What is the type of 'this' pointer? When does it get created?
What is #include iomanip?
Which software is best for c++ programming?
What is the latest version on c++?
Write about all the implicit member functions of a class?
Is c++ low level?
Are iterators pointers?
Write about the local class and mention its use?
What is jump statement in C++?
What are the 3 levels of programming languages?
Can manipulators fall in love?
Which bitwise operator is used to check whether a particular bit is on or off?
Why cout is used in c++?
Can I learn c++ in a week?