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
Templates mean
how to get the oracle certification? send me the answer
Why it is called runtime polymorphism?
What is difference between pop and oop?
What is overloading in oop?
Why interface is used?
What is the example of polymorphism?
Can abstract class have normal methods?
What is encapsulation and abstraction? How are they implemented in C++?
What is an advantage of polymorphism?
What is difference between polymorphism and inheritance?
What are the 4 pillars of oop?
Who invented oop?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
class type to basic type conversion