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
What is the problem with multiple inheritance?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What do you mean by abstraction?
What is solid in oops?
Which is not an object oriented programming language?
Which is better struts or spring?
What is class in oop with example?
What is cohesion in oop?
What is a function in oop?
What is abstract class in oops?
What is the advantage of oop over procedural language?
What is overloading in oop?
What is polymorphism oop?
What makes a language oop?
Why do we use oop?