wht is major diff b/w c and c++?
Answers were Sorted based on User's Feedback
Answer / dng
c is procedural oriented language and C++ is a object
oriented language.
In C++ we can create object and its properties where as in C
functions are used.
| Is This Answer Correct ? | 100 Yes | 9 No |
Answer / narender vadhava
in c we can use if statements only for 16times but in c++ ,
we can use if for 256 times.
in c it's difficult to solve complex no but in c++ we can
solve easily by using classes.
c follows down to up approach to complie a program but
c++ follow up to down approach.
in c++ we can add variables any where within the program
but in c data type are declared only on the starting of the
function or the main program.
| Is This Answer Correct ? | 41 Yes | 20 No |
Answer / b.varalakshmi
c is structured language whreas c++ is object oriented
language.
in c language overloading and operator overloading is not
possible where as in c++ it is possible.
in c++ data abstraction is possible. whereas in c it it not
possible.
in c++ we can do nesting,inheritance which is not possible
in c.
objects and classes are present in c++ not in c.
| Is This Answer Correct ? | 23 Yes | 3 No |
Answer / aditya
C is a structured oriented language. It follows a
structure/ rules in the execution of the program. In C
basically functions are used.
Where as C++ is a object priented programming language.
Here we can apply the oops concepts like inheritance,
encapsulation etc. In C++ classes and objects are used.
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / jyoti
c++ is oops is real word entity means in c++we can secure
our data by using the concept of class but in cv we will
not secure our data means data is global
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / venkat somapalli
C is a Function Oriented(procedure) Laguage. where as C++
Is object Oriented laguage.
in C no STL(Standard Template Library). C++ have.
In C no namespace concept. it's avilable in c++.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ashutosh soni
In C Lan is middle level lan. but c++ High level lag becoze
C lan. 25 % code is written in Assembly lag .
C is faster compair to c++ becoze c 25 % code Written in
Assembly Lag.that reason its is faster .
| Is This Answer Correct ? | 16 Yes | 11 No |
Answer / muhammad hamad
c language is used ANSI C standerd define for c language but c++ is used additional features.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / bchengareddy
c is procedural oriented language and c++ is a object
oriented language
in c++ we can create object and its prop[erties where as in
c functions are used
| Is This Answer Correct ? | 0 Yes | 0 No |
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is object and example?
In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?
What is constructor overloading in oop?
Why u change company?
Can an interface inherit a class?
Which is the best institute in hyderabad for C/C++ and it also has fast track course structure.
How to calculate the age from the date of birth by using the program?
How oops is better than procedural?
What is differance between Abstract and Interface
What is the point of polymorphism?
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram