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

1. c doesn't support operator overloading but c++ support
operator overloading.
2. c is structured(procedural) programming language but c++
is an object programming language.
3. data is not secured in c but c++ data is secured.
4. c is top-down apporach and c++ is bottom-up apporach.
5. c using #include<stdio.h> as header file and c++ using
#include<iostream.h> as header file.
6. c is low level language but c++ is high level language.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of inheritance.

1149


How do you achieve runtime polymorphism?

1049


Why it is called runtime polymorphism?

1137


what are the ways in which a constructors can be called?

2139


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4947


What is the significance of classes in oop?

1158


Is abstract thinking intelligence?

1053


which feature are not hold visual basic of oop?

2195


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4748


When not to use object oriented programming?

1110


What is encapsulation example?

1060


What is inheritance in oop?

1036


#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

2627


What is meant by oops concept?

1044


What is interface? When and where is it used?

2169