Answer Posted / mohan chaudhari
1.In structure there is no data encapsulation.
but in class, there is data encapsulation.
2.Data member in structure are not private .
In class they are private.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What math functions are available for integers? For floating point?
What does the c preprocessor do?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Explain pointers in c programming?
What are types of structure?
How can I read a binary data file properly?
When should structures be passed by values or by references?
FILE PROGRAMMING
What is variables in c?
What is the difference between struct and union in C?
Explain #pragma statements.
What 'lex' does?
What is malloc return c?
What is bubble sort technique in c?
What is the use of sizeof () in c?