what is the main difference between c and c++?

Answer Posted / abhishek gautam

C does not supports operator overloading but C++ supports.
C focus on procedure whereas C++focus on data.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1572


What is the real life example of polymorphism?

601


Can destructor be overloaded?

591


What is polymorphism and its types?

587


What is overloading in oop?

568






what is different between oops and c++

1995


What is overloading in oops?

591


What is difference between oop and pop?

607


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1648


How to call a non virtual function in the derived class by using base class pointer

5244


What is destructor in oop?

616


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2094


#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

2157


What is the real time example of inheritance?

631


Which language is pure oop?

545