what isthe difference between c structure and c++ class
Answer Posted / harshad khedekar
c does not allow struct data type to be treated like built-in datatype also it does not supports data hiding concept.in c++ instead of struct we have class which overcomes all the above limitations.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is abstraction in oops with example?
What is a null tree?
What are the features of oop?
#include
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
How Do you Code Composition and Aggregation in C++ ?
What is the purpose of enum?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Why is encapsulation used?
What is encapsulation oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is solid in oops?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
can inline function declare in private part of class?