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

Answer Posted / nizam

c is not powerful language and c++ is powerful language

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can static class have constructor?

582


What is destructor oops?

617


Is react oop?

607


What is the difference between static polymorphism and dynamic polymorphism?

579


What is encapsulation in oop?

601






What are the benefits of interface?

577


Why do we use class?

633


Why is static class not inherited?

591


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

2753


hi all..i want to know oops concepts clearly can any1 explain??

1681


What is abstraction in oop?

631


What is property in oops?

565


#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

2064


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

1976


when to use 'mutable' keyword and when to use 'const cast' in c++

1642