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

Answer Posted / rokesh

very simple. C++ is actually named as C with classes.. It
makes use of classes.. thats all the difference

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is property in oops?

565


What is meant by multiple inheritance?

733


How do you answer polymorphism?

577


What are the three parts of a simple empty class?

1455


Why is oop better than procedural?

602






What are the important components of cohesion?

550


What is polymorphism give a real life example?

557


What does enum stand for?

607


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1622


What are different oops concepts?

570


What is polymorphism programming?

599


Advantage and disadvantage of routing in telecom sector

782


Whats is abstraction in oops?

589


What is the purpose of enum?

579


#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

2160