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

Answer Posted / j.balaji

C is oldest programming language.but c++ is the advanced version of C.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the data types in oop?

609


Which method cannot be overridden?

584


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?

2764


• What are the desirable attributes for memory managment?

1731


What is use of overloading?

612






Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1151


Can we override main method?

609


What is destructor example?

602


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3558


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6489


What is ambiguity in inheritance?

626


#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

2172


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1944


Why we use classes in oop?

585


What are the 4 main oop principles?

686