what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / nitish kumar jha
The main Difference between C and C++ is C is structure Based
programing language.that means in C also we have structure
based Applications like Structures and Unions.
C++ is Object Oriented Language that means entire
application will be depending on Objects only.
Uses of Object oriented Program is Reusability,Increase the
effiency of the program and it gives extra security like
Private data is also be there in C++.
C++ is the Advanced version of C.
In otherwords we say c++ supports both Object based and
Object oriented Applications
i mean finally i want say that both are same because C&C++
both are language the main diffrence between them C is old
version language and C++ is latest programing language which
come modified of C language ....
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nitish kumar jha
No very large diffrence between C and C++..
The main diffrence between them C is the old programing
language.while C++ is the latest programing language.C++ is
modified form of C language . and other diffrence like as in
input,output,programing,etc.this all diffrence are come due
to modify.........
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ayesha
c is a procedural programming language and c++ is object oriented language.
the most important difference between c and c++ is , in c++ we can use user defined data type as basic data type.but, this can't be in c.....
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / saddam hussain
c is procedural language,while c++ is an objected oriented
programing language.The main difference between c and c++
is that, in c importance is given to steps or procedure of
programe and in c++ focuses on the data rather than process.
in short data is not secured in c while in c++ data is
secured(Hidden).
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sushil kumar sinha(sinha colle
*c is a structural program but c++ is a opp(object orianted
program).
*In c use for #include<stdio.h>heder file .
but c++ use for #include<iostrem.h>heder file.
*c program approch by top to bottom but
c++ program approch by bottom to top.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / patel dimpal p.
c is procedure oriented language
while c++ is object oriented language.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / breetha s
c is not aobject orientedlanguage
c++ is object oriented language
c is a lowlevel language
c++ is a high level language
C is a procedural language,but C++ is a object oriented
language.
c is the top to bottom,but c++ is bottom to top language.
| Is This Answer Correct ? | 4 Yes | 4 No |
C IS A MIDDLE LEVEL LANGUAGE BUT C++ IS A HIGHERLEVEL
LANGUAGE. C++ SUPPORT REAL TIME OPERATING SYSTEM,EXPERT
SYSTEM BUT C DOES NOT SUPPORT LIKE THAT APPLICATION
| Is This Answer Correct ? | 4 Yes | 4 No |
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
Write a macro for swapping integers
How can we use the preprocessor #if and #elseif.
The company is a fake company asking for money of RS10000 while training and not offering a job after training. My humble request to you people not to attend Astersys interview
Why is oop better than procedural?
Which language is not a true object oriented programming language?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
how much classes are used in c++
Can we create object of abstract class?
what uses of c++ language?
Is enum a class?
What do you mean by inline function?