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
What are the three forms of cin.get() and what are their differences?
Is dev c++ a good compiler?
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
What is a local reference?
Where Malloc(), Calloc(), and realloc() does get memory?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
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 What is an arraylist c++? What are maps in c++? What is type of 'this' pointer? What is the insertion operator and what does it do? Why do we use string in c++? Can recursive program be written in C++? Why do we need runtime polymorphism in c++? int age=35;
if(age>80)
{Console.WriteLine("Boy you are old");}
else
{Console.WrieLine("That is a good age");}