what is the main difference between c and c++?
Answer Posted / madhavendrapratapshahi
C IS AN PROCEDURAL PROGRAMMING LANGUAGE.BUT C++
OBJECT ORIENTED PROGRAMMING LANGUAGE .C FILE EXTENSION
IS .C BUT C++ FILE EXTENSION IS .CPP .VARIBLE IN C
ARE CALLED DATA MEMBER IN C++. C++ SUPPORT FIVE
COCEPT OF OOP,S BUT C DOES NOT SUPPORT THESE CONCEPT.
WE CAN USE ALL FUNCTION IN C++ WHICH ARE USED IN
C LANGUAGE. IN C++ DATA MEMBER ARE DECLARE IN ANY
WHERE IN MEMBER FUNCTION.C++ SUPPORT DATA SECURITY OR
DATA HIDING BUT C DOES NOT SUPPORT THIS FUNCTION.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How Do you Code Composition and Aggregation in C++ ?
What is object in oop?
How do you define social class?
What is coupling in oops?
What is super in oop?
What is polymorphism and why is it important?
What is pointer in oop?
What is an interface in oop?
how to get the oracle certification? send me the answer
What is the important feature of inheritance?
What does no cap mean?
is there any choice in opting subjects like 4 out of 7
Why do while loop is used?
What are the benefits of oop?
What is polymorphism programming?