What is the difference between the C & C++?
Answers were Sorted based on User's Feedback
Answer / sudha
c++ is an object oriented language
where as c is not.c++ we can use class which is used to
reduce lines of code in a program
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / rajeswari.v
C C++
1.The execution of 'c The execution of c++ program is
program is top to bottom bottom to top approach.
approach.
2.Implementation of complex It is easy.
program is difficult.
3.Middle level language. It is hybrid language.
4.Every cycle changes not Possible in c++
possible in 'c'.
5.Less security for data More security for ddata
| Is This Answer Correct ? | 16 Yes | 4 No |
Answer / srikanth
c is a procedure oriented language where as c++ is a object oriented language.
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / keerthi
c c++
c is procedure oriented
language c++ object oriented language
C is top to down approach C++ is bottom up approach
C doesnot supports
functionoverloading C++ supports
C is not more secure
C++ is more secure because
of encapulation
C does not related to whole
world entity
C++ relates whole world
entity
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / mangal
The c is purely procedure The c++ is purely object
oriented programming
language
oriented progeaming
language
This is the main difference between these 2
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / asha
.In c more emphasis is given on procedure,but in c++ more
emphasis is given on data rather than procedure.
.In c the large program is divided into number of smaller
programs called modules,where as in c++ the program is
divided into objects.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
c is procedure oriented programming language whereas c++ is
a object oriented language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / keerthana
C C++
it is pop it is oop
in c,we caanot use class in c++,we can use class
to create to create programs.
programs.
c dont hav bool data it has bool datatype.
datatype.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / tcs
c is structered lang,c++ is oo lang.
poiter use in c++ but does not use in c
| Is This Answer Correct ? | 0 Yes | 5 No |
What is pointer in oop?
What is polymorphism in oop example?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Why do we use polymorphism in oops?
What is abstrac class?where is it use?
What is Hashing and how is it done? Pictorial form?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
Can we define a class within the interface?
write a c++ program to find maximum of two numbers using inline functions.
When a private constructer is being inherited from one class to another class and when the object is instantiated is the space reserved for this private variable in the memory??
Can destructor be overloaded?
What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined