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
Who was the creator of c++?
Explain pass by value and pass by reference.
What are the data types in c++?
If a function doesn’t return a value, how do you declare the function?
What is late binding c++?
What are c++ data types?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
Can we define function inside main in c++?
What is boyce codd normal form in c++?
Comment on assignment operator in c++.
What is a stack c++?
What are the steps in the development cycle?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
Write a program in C++ for Fibonacci series
What is #include iostream h in c++?