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 |
what is the technical or oop name of object?
What do you mean by variable?
What does and I oop and sksksk mean?
what are the ways in which a constructors can be called?
What is inheritance in simple words?
what is meant by files?
How do you achieve polymorphism?
what is runtime polymorphism? For the 5 marks.
where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?
What are the access specifiers avaible in c++?
Can java compiler skips any statement during compilation time?
wht is ditch