What is the Difference between "C structure" and "C++
structure"?

Answer Posted / asif iqbal

1.C is a procedural oriented lang. whereas C++ is an object oriented lang.
2.C employs bottom-up aproach whereas C++ employs top-down approach.
3.In C main preference is given to functions whereas in C++ main preference is given to objects.
4.In C no inheritence,polymorphism whereas in C++ it exists.
5.In C data member and member functions are separated whereas in C++ they are within a Class.

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who was the creator of c++?

668


We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

694


what kind of projects are suitable for c and c++

712


Can manipulators fall in love?

650


What apps are written in c++?

705






What do you mean by volatile and mutable keywords used in c++?

676


What is pure virtual function? Or what is abstract class?

682


What is increment operator in c++?

646


Can the creation of operator** is allowed to perform the to-the-power-of operations?

662


How many types of modularization are there in c++?

668


What is auto used for in c++?

667


What is the use of setprecision in c++?

621


What are c++ redistributables?

655


Can we make copy constructor private in c++?

717


Is there any function that can skip certain number of characters present in the input stream?

667