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

Answer Posted / luckyy

C++ is object oriented language and c is object based
language..

Is This Answer Correct ?    253 Yes 99 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is static class not inherited?

804


How do you achieve polymorphism?

807


What do you mean by overloading?

780


What is oops and its features?

813


#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

2303


What is the renewal class?

2396


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

2190


Is html an oop?

758


What does no cap mean?

772


What is difference between class and object with example?

790


How do you use inheritance in unity?

785


What are the 5 oop principles?

814


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2190


What is object-oriented programming? Webopedia definition

937


Get me an image implementation program.

1719