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 |
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
Why is c++ difficult?
What is an incomplete type?
When volatile can be used?
difference between c and c++?
38 Answers Cognizant, IBM, Infosys, Oracle, Sarva Shiksha Abhiyan, Wipro,
What is DlgProc?
What is encapsulation in c++ with example?
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
What is protected inheritance?
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.
What do you mean by Stack unwinding?