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
Explain selection sorting?
Differentiate between the manipulator and setf( ) function?
What is the type of this pointer in c++?
What do you mean by late binding?
How long will it take to learn programming?
What is a local variable?
Is java the same as c++?
Is c++ high level programming language?
Define the operators that can be used with a pointer.
Using a smart pointer can we iterate through a container?
what is the use of void main() in C++ language?
What are the basic data types used in c++?
Explain the isa and hasa class relationships. How would you implement each?
Why c++ is created?
What is the use of lambda in c++?