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 |
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What exactly is polymorphism?
What is meant by multiple inheritance?
How to overload postfix operator in c++
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
what are the characteristics of oops?
State what is encapsulation and friend function?
What are the components of marker interface?
Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.
1 Answers Global Academy, Infotech,
when to use 'mutable' keyword and when to use 'const cast' in c++
What is a template?