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 are the main differences between C and C++?



What are the main differences between C and C++?..

Answer / nashiinformaticssolutions

In terms of syntax, compilation, and basic memory, C and C++ are very similar. Nonetheless, the two languages differ in a few significant ways:

• While C++ is a multi-paradigm language that supports procedural programming and other programming philosophies, C is a procedural programming language.
• Unlike C++, C does not allow object-oriented programming principles like encapsulation and polymorphism.

• Namespace, reference variable functionality, operator overloading, and function overloading are among the new features that C++ provides.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

0 Answers  


Why is c++ difficult?

0 Answers  


What is an incomplete type?

1 Answers  


When volatile can be used?

3 Answers   Symphony,


difference between c and c++?

38 Answers   Cognizant, IBM, Infosys, Oracle, Sarva Shiksha Abhiyan, Wipro,


What is DlgProc?

0 Answers   C DAC,


What is encapsulation in c++ with example?

0 Answers  


if int1 has the value 12, int has the value 18, and int3 has the value 21, what is the result: int1 < int2 && int2 < int 3

3 Answers  


What is protected inheritance?

0 Answers  


How to write Multithreaded applications using C++?

2 Answers   Honeywell, TCS, Wipro,


give me an example for testing a program showing the test path .show how the test is important and complex.

0 Answers   TCS,


What do you mean by Stack unwinding?

1 Answers  


Categories