what is the difference between structure and union?
Answer Posted / sevak.yatrik777
While structure enables us treat a number of different
variables stored at different in memory , a union enables us
to treat the same space in memory as a number of different
variables. That is a Union offers a way for a section of
memory to be treated as a variable of one type on one
occasion and as a different variable of a different type on
another occasion.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When the macros gets expanded?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What are the 3 types of structures?
If fflush wont work, what can I use to flush input?
Explain the advantages of using macro in c language?
What is the use of typedef in structure in c?
What does struct node * mean?
#include
What is optimization in c?
Who invented bcpl language?
Is that possible to store 32768 in an int data type variable?
Explain what are bus errors, memory faults, and core dumps?
pierrot's divisor program using c or c++ code
What are the difference between a free-standing and a hosted environment?
What are types of preprocessor in c?