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
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What are the two forms of #include directive?
What are the 5 data types?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
Find MAXIMUM of three distinct integers using a single C statement
Why is this loop always executing once?
Define and explain about ! Operator?
What is echo in c programming?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
What is %lu in c?
Why do we use c for the speed of light?
What do you know about the use of bit field?
How many types of functions are there in c?
How can you invoke another program from within a C program?
What header files do I need in order to define the standard library functions I use?