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

Which ide is best for c++?

989


What do you mean by static variables?

1102


What is the main purpose of overloading operators?

1053


How is computer programming useful in real life?

999


Is c++ high level programming language?

1069


What is data abstraction? How is it different from data encapsulation?

942


What are the defining traits of an object-oriented language?

1134


What is difference between rand () and srand ()?

1035


What is the difference between #import and #include in c++?

1054


What is the difference between the functions rand(), random(), srand() and randomize()?

1192


Explain the use of virtual destructor?

1022


What does n mean in c++?

1070


What is lvalue?

1129


What is the difference between an enumeration and a set of pre-processor # defines?

1325


What do you mean by vtable and vptr in c++?

983