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 / sridivyapuvvada

C is object based language & C++ is object oriented
language.
C is top-bottom approach & C++ is bottom-top approach.
In C,we use PRINTF() ,SCANF() as standard input/output
functions & in C++,we can use COUT<< or CIN>> as standard
input/output function.
In C we are using #include<stdio.h> as header file, but
in C++ we are using #include<iostream.h> as header file.
C doesn't support operator overloading & C++ support
operator overloading.
C does not support the c++ programme but C++ support the C
program.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2078


What is constructor overloading in oop?

1080


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2148


What is encapsulation oop?

995


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2227


Can we define a class within the interface?

989


write knight tour problem which is present in datastructure

2599


Why polymorphism is used in oops?

998


what are the realtime excercises in C++?

2787


What is encapsulation with real life example?

979


Why interface is used?

958


What is a class and object?

1004


What is encapsulation and abstraction? How are they implemented in C++?

1073


What do you mean by abstraction?

1024


write a programe to calculate the simple intrest and compund intrest using by function overlading

2133