Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Who was the creator of c++?

1106


Explain pass by value and pass by reference.

1104


What are the data types in c++?

987


If a function doesn’t return a value, how do you declare the function?

1108


What is late binding c++?

1030


What are c++ data types?

1213


C is to C++ as 1 is to a) What the heck b) 2 c) 10

1112


Can we define function inside main in c++?

1071


What is boyce codd normal form in c++?

1212


Comment on assignment operator in c++.

1169


What is a stack c++?

1053


What are the steps in the development cycle?

1160


What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

1190


Write a program in C++ for Fibonacci series

1248


What is #include iostream h in c++?

1222