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 |
what is the need of abstraction? what is abstraction?what is the abstraction for stack?
When is a memory allocated to a class?
Have you ever interfaced with a database?
What are the benefits of interface?
What is the important feature of inheritance?
What is a null tree?
What do you mean by Encapsulation?
Which is better struts or spring?
What is deep and shalow copy?
What is object and class in oops?
what is the abstract class,interface ,its difference with a programatic eg.? hi,recently i went for an interview they ask me what is abstract class ,interface and its difference I said abstract class contain abstact method ,abstract method is a method with no body.Abstract class cannot be instantiated.Abstract class is a base class it required derived class for the implementation of method. Interface is a syntactical contract that all derived class should follow it define properties ,method,events which are known as member of interface. Then They asked me what is the difference between them. I said abstract class interface 1.abstact class can implement method 1.interface cant 2.abstact class can contain constructor, 2.interface cant destructor 3.abstract class cannot support multiple 3.interface support inheritance etc Then they said some different answer I said dont no. Then they ask me when i should make abstract class for an project and when i should make interface. I said if suppose there is two class which must be having method with different logic then we sholud make abstract class. and if suppose we have two class having method .with different logic then we can make interface . Am i correct with my explaination.if not correct me .please provide me that when should we create abstract class and interface and what is difference .please help me
What is debug class?what is trace class? What differences are between them? With examples.