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 a class
What is nutshell in programming language?
1 Answers Satyam, Tech Mahindra,
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
Advantage and disadvantage of routing in telecom sector
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
what is meant by files?
explain defference between structure and class with example
Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?
What is an interface in oop?
WAP find square root of any number (without using sqrt() )?
What is polymorphism ? Explain with examples
Why is abstraction used?