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...

what is the main difference between c and c++?

Answer Posted / siva

*C is a structure oriented programming. C++ is an object oriented programming. In c++ we can use OOPS concepts like Abstraction,Encapsulation,Inheritance and Polymorphism. So we can Hide data using Encapsulation but we can't in C.
*We can reuse our coding using Inheritance concept but not in C.
* We can Create Same function name with different functionality by using polymorphism.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is new keyword in oops?

995


what is graphics

2404


What are the types of abstraction?

998


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

1172


What are oops methods?

947


How does polymorphism work?

1080


What is interface in oop?

1075


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2335


Can private class be inherited?

1122


What are the 3 principles of oop?

1060


What is abstraction and encapsulation?

945


What is difference between abstraction and encapsulation?

1021


What is overloading in oops?

1094


How do you explain polymorphism?

1017


What makes a language oop?

1009