Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
Explain the difference between C & C++?
1.
Explain the difference between C & C++?
Answer»
S.no
C Programming Language
C++ Programming Language
1.
C is a procedural programming language
C++ is a procedural and object-oriented programming language
2.
The data and
FUNCTIONS
are different entities
C++ data and functions both are encapsulated together into an object
3.
Functions cannot be defined inside the structures
Functions can be described inside the structures
4.
The information cannot remain hidden so that it can be manipulated by another code
Encapsulation hides the data
THUS
PROTECTING
the data to
GET
used by another code
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What do you mean by Vtable and VPTR in C++?
Explain the difference between Abstract class and Interface in C++?
What is copy constructor? Can we make copy constructor private in C++?
What do you mean by function overriding & function overloading in C++?
What do you mean by friend class & friend function in C++?
Explain the difference between new() and malloc() in C++?
What is constructor and destructor in C++?
What do you mean by inheritance in C++? Explain its types.
Explain the difference between realloc() and free() in C++?
What do you mean by overhead in C++?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies