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 |
WAP to generate 2n+1 lines of the following pattern on the computer screen:
What is solid in oops?
How to call a non virtual function in the derived class by using base class pointer
What is overriding vs overloading?
What are objects in oop?
c++ is a pure object oriented programming or not?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?
2 Answers IBMS, Zycus Infotech,
WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT.
What is encapsulation?
Why is abstraction needed?
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 :( :-?