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
Explain how do you generate random numbers in c?
Is null equal to 0 in sql?
What are the advantages of the functions?
What is enumerated data type in c?
What are the application of c?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
In c language can we compile a program without main() function?
Is multithreading possible in c?
Why c is called top down?
Linked lists -- can you tell me how to check whether a linked list is circular?
What is the size of enum in c?
What is a shell structure examples?
Who invented bcpl language?
What are different storage class specifiers in c?
What are the 5 data types?