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

Answer Posted / uma

c++ support operator overloading but
c doesn't support operator overloading..

Is This Answer Correct ?    594 Yes 103 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stream in oop?

835


write knight tour problem which is present in datastructure

2160


write a program to find 2^n+1 ?

1543


What are the benefits of interface?

576


What is encapsulation in ict?

599






What is encapsulation example?

545


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1662


What is oops and its features?

580


write string class as your own class in java without using any built-in function

1975


How can you overcome the diamond problem in inheritance?

763


What are the 5 oop principles?

594


#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

2158


What is polymorphism explain its types?

674


Why is oop better than procedural?

600


Why we use classes in oop?

575