what is the main difference between c and c++?
Answer Posted / dua gee
C++ was based on C and retains a great deal of the functionality. C++
does not retain complete source-level compatability with C.
There are a few gotchas for C++ programmers trying to write C code, and
C programmers trying to compile with a C++ compiler.
Actually c is a procedural programming language which
cann't face the real world problem. It has some drawback
like a global data is shared by all function and if in a
large program it is find out difficult that which function
uses which data.
On the other hand c++ is an object oriented programming
language which eliminate some pitfall of conventional or
procedural programming language. It is a concept or
approach for designing a new software. It is nothing to do
with any programming language although a programming
language which support the oops concept to make it easier
to implement.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is abstraction encapsulation?
Can bst contain duplicates?
Templates mean
Can private class be inherited?
Which is not an object oriented programming language?
What does it mean when someone says I oop?
What are classes oop?
What is constructor overloading in oop?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What are the features of oop?
Is data hiding and abstraction same?
What is meant by multiple inheritance?
What is oops?what is its use in software engineering?
class type to basic type conversion
What are oops functions?