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
What is searching?
What are c++ variables?
Write about the retrieval of n number of objects during the process of delete[]p?
What are references in c++?
How did c++ start?
Is c++ the most powerful language?
what are the events occur in intr activated on interrupt vector table
Can we sort map in c++?
What are the effects after calling the delete this operator ?
What is the use of cmath in c++?
How do you clear a map in c++?
Can comments be longer than one line?
What is namespace & why it is used in c++?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
Differentiate between the manipulator and setf( ) function?