what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / bajrang asthana
the basic diff which we need to understand about C and C++.
c emphasis on procedure means what we want to do and how. But in c++ we emphasis on data rather than procedure. difference
should be clear c is developed when we were not give attention
on data.
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / priyanga.t
c is a structural programming but c++ is a objected oriented
programming........................
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / b.sivashankari
a c++ program is identical to a c program with minor
changes in coding
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / jhumu
DIFFERENCE BETWEEN C AND C++:
* C IS STRUCTURED PROGRAMMING LANGUUAG WHEREAS C++ IS
OBJECT ORIENTED PROGRAMMING LANGUAGE.
* C IS TOP-DOWN PROCESS BUT C++ IS BOTTOM-UP PROCESS.
* C++ IS PREDECCESSOR OF C.
* C++ SUPPORTS 5 MAIN CHARACTERISTICS CLASSES, OBJCECTS,
INHERITENCE, ENCAPSULATION AND POLIMORPHISM WHEREAS C
DOES'T SUPPORT THESE FEATURES.
* C++ USES CLASSES WHICH IS AS SIMILLAR AS STRUCTURE USED
IN C BUT THERE IS MINOR DIFFERENCE BETWEEN THEM IS
STURCTURE SUPPORTS ONLY DIFFERENT DATA TYPES WHEREAS CLASS
IS A COLLECTION OF DIFFERENT DATA MEMBERS AND MEMBER
FUNCTIONS ALSO.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / ashish kumar gurjar mechanical
the speed is c programe is high,but c++ programe speed is
low,that cause there are many languge come to the market
but c is also stay here.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / murali
c is a single letter language but c++ is a three letter
language... c does not includes ++ wit it........
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / sk saddam
the differnce for c & c++ that is folows as jane do na yaar
apne ko kya karna hai kyun ye zamele main pade
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / chaitanya pathak
The Main Difference Between C & C++ Are As follows:
1. C programming is a procedure oriented Programming Language.
It is a procedure oriented Language (POL) because Source
has a Exact sequence of Logic. If source code doesn't
follow sequence then compiler doesn't compile your code.
1. On other hand C++ is a truly object oriented programming
language (OOPS) we can say that it is a increment version
of C Programming.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / abi
c is a lengthy language but c++ is a language which is used
to shorts the procedure,
c is structure oriented,but C++ object oriented
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / lavanya
c is a lengthy language but c++ is a language which is used
to shorts the procedure,
c is structure oriented,but C++ object oriented
| Is This Answer Correct ? | 1 Yes | 1 No |
Which language is pure oop?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
what is the advantage in software? what is the difference between the software developer and Engineer
State what is encapsulation and friend function?
Can you name some types of inheritance?
pointers are support in C#? if yes then how to use it?
8 Answers Softvision Solution,
What is class and object in oops?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
Is react oop?
what is a virtual class?
5 Answers Cap Gemini, IBM, Infosys, Trinity Technologies,
What do you mean by inheritance?
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?