difference between c and c++?

Answer Posted / satish kumar

* c is the procedure oriented programing
* C++ IS THE OBJECT ORIENTED PROGRAMING.
* C GIVE THE IMPORTANCE ON THE PROCEDURE INSTATED IN THE
DATA
* A COMPUTER LANGUAGE IS ONE OF THE WHICH CAN BE USED IN
THE COMMUNICATE WITH IN THE PROGRAM IN THE COMPUTER .C++ IS
AN OBJECT ORIENTED PROGRAMING LANGUAGE. IT WAS DEVELOPED
BY "BJAME STROUSTARP" AT AT&BELL LAB'S IN 1980'S
* C++ IS AN EXTENXION OF THE C WITH MAJOR ADDTITON OF THE
CLASS CONSTRUCT FEATURES.
* THE OTHER IMPORTANT FEATURES OF THE C++ ARE CLASSES,
INHERITANCE, FUNCTION OVERLAPPING ,OPERATOR OVERLODING.
* THE C++ IS A COLLECTION OF THE FUNCTIONS.
* C++ IS A FREE FORM LANGUAGE.
* C++ STATEMENTS TERMINATE WITH ;(SEMI COLON)

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 three forms of cin.get() and what are their differences?

631


Is dev c++ a good compiler?

526


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

3202


What is a local reference?

673


Where Malloc(), Calloc(), and realloc() does get memory?

613






Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

660


how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing p(inc+) and m(dec-). NOW, i compiled that program and opened it twice (in 2 different windows) and gave twice the same address to it. now look what happen - if i change the value in one "window" of the program, it DOES NOT change in the other! even if they point to the same address in the memory! here is the code snippet: //------------------------------------------------------ #include //INCLUDE EVERY KNOWN HEADER FILE #include //FOR ANY CASE... #include #include #include main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["<

1818


What is an arraylist c++?

687


What are maps in c++?

504


What is type of 'this' pointer?

596


What is the insertion operator and what does it do?

565


Why do we use string in c++?

511


Can recursive program be written in C++?

634


Why do we need runtime polymorphism in c++?

559


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

835