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

Answer Posted / mht

in we hv 2 dfn vrible in strng f prgrm bt in c++
we dfn verblz ny whr n thr progrm whr we wan 2 use them

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 the important feature of inheritance?

636


What is polymorphism what is it for and how is it used?

576


Why is abstraction used?

612


What is oops?what is its use in software engineering?

557


Why is oop better than procedural?

606






#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

2170


What are the three main types of variables?

602


What exactly is polymorphism?

610


What is the point of oop?

656


How do you use inheritance in unity?

593


Why do we need oop?

671


Why do we use polymorphism in oops?

583


Can destructor be overloaded?

601


Why is polymorphism important in oop?

637


What is object and class in oops?

589