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 class and example?

545


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

1759


What is class and object with example?

563


What is overriding in oops?

573


What is polymorphism programming?

582






write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1754


What is destructor example?

569


c++ program to swap the objects of two different classes

1710


#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

2139


What is encapsulation in oops?

516


how to get the oracle certification? send me the answer

1631


What is debug class?what is trace class? What differences are between them? With examples.

1577


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

669


Is data hiding and abstraction same?

550


why reinterpret cast is considered dangerous?

1868