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

c is a pop,c++ is oop.
c is use scanf func for input,while c++ use cin>>.
c is use printf func for output,while c++ use cout<<.
c comes after A,B and c++ comes after adding ++ in c.
c use #include<stdio.h> while c++ use #include<iostream.h>.
c is topdown approach and while c++ is bottom up.
c the main prg couldn't return vslue but c++ should return
value.
c++ support operator overloading but c doesn't support
overloading .

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 oops and its features?

1081


What is a class in oop?

1131


What is the point of oop?

1189


Why multiple inheritance is not possible?

1069


Why do pointers exist?

1091


What is byval and byref? What are differences between them?

2217


What is stream in oop?

1302


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2625


What is the highest level of cohesion?

1050


what are the different types of qualifier in java?

2274


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

2205


What is variable example?

1036


What does <> mean pseudocode?

1192


What is polymorphism in oop example?

1026


Get me an image implementation program.

1983