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

Answer Posted / mohd rehan

i read some que. from other site.the over all conclusin of
this c++ is object oriented lang.so it implement easily on
real world thing but c can not implement on real world thing...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What type of loop is a for loop?

684


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’.

1781


What is encapsulation oop?

578


What is the full form of oops?

612


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2070






What is oops with example?

566


Can private class be inherited?

621


What is encapsulation c#?

602


What is overloading in oops?

598


What is a superclass in oop?

671


What is difference between multiple inheritance and multilevel inheritance?

603


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1897


What are benefits of oop?

639


Where is pseudocode used?

567


Do you know about multiple inheritance?

643