what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / sreenivasulu reddy
c is not object oriented but c++ is object oriented
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vijay bhaskar(vbit).k
c language is a procedural language.it is also one of the
best language for designing of operating systems and
databases.but c language can not give the secure for
programs when compare to c++.
c contain functions and it can not overridden.
c language extension of c++.
c++ follows oops principles and give more security better
then c language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / perumalla.naveen kumar
in c after using the main function we can declare the variables.
in c++ before using the main function we can declare the variables.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / iswarya
c is a topdown aproach, C is function or procedure oriented
c++ is a buttom of aproach ,C++ is object oriented
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jaimin patel
Topic for c:-
1.c is the top down approch.
2.c is the procedure oriented programming language.
3.in c we use as input funtion printf & scanf.
4.c dose not have a class and object.
5.in c we can not overload the function and operatore.
TOPIC FOR C++:-
1.C++ is the bottom to up approch language.
2.c++ is object oriented language.
3.in c++ we use as input function c0ut<< & cin>>.
4.c++ have a class and object.
5.in c++ we can overload a function and object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gaurav pathak
c is a middle level language(high level with low level
features)while c++ is high level language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mohd rehan
i read some que. from other site.the over all conclusin of
this c++ is object oriented lang.so it implement easily on
real world thing but c can not implement on real world thing...
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kalaiselvi.t
C is not support operator overloading.But C++ support
operator overloading.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / manju kumari
1. c is structured programming languages while c++ is
partially object oriented programming languages.
2. In c,main function could not return a value while in c++
,main function should return a value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / venkatrao
c is procedural programming language while c++ is object oriented language.The main difference is in c++ having reusability and security(because it is object oriented) while
c does not.
| Is This Answer Correct ? | 0 Yes | 0 No |
Name an advantage of linked list over array?
What is the difference between pass by value,pass by pointer,pass by reference in the catch block in the exception handling in c++
What is an interface in oop?
What are oops methods?
Difference between over loading and over ridding?
12 Answers CTS, Patni, Softvision Solution,
Which is better struts or spring?
What is OOPS and How it is different from Procedural Programming ?
23 Answers HP, Infosys, Thyrocare,
Can we have a private virtual method ?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is a class oop?
Program to read a comment string