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
Can an array be an Ivalue?
Where static variables are stored in c?
What is the process of writing the null pointer?
Is struct oop?
Why is c fast?
What is a memory leak? How to avoid it?
What does %d do in c?
Explain a file operation in C with an example.
Can we initialize extern variable in c?
largest Of three Number using without if condition?
Why c is procedure oriented?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
How do you determine the length of a string value that was stored in a variable?
If I have a char * variable pointing to the name of a function ..
Explain how do you convert strings to numbers in c?