what is the defrenece between structure and union
Answer Posted / renuka
structure is declared with the keyword struct and structure
variables occupy individual memory location.But Unoin is
declared with the keyword union and its variables are
allocated to a memory at which the highest byte of the
variable is declared.
Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What are run-time errors?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is equivalent to ++i+++j?
Do you know the difference between exit() and _exit() function in c?
Explain what is the difference between text files and binary files?
What does. int *x[](); means ?
Why is c called c?
Explain how do you print only part of a string?
How can I ensure that integer arithmetic doesnt overflow?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What is the correct code to have following output in c using nested for loop?
How many levels of pointers have?
How many bytes is a struct in c?
Where does the name "C" come from, anyway?
What is union and structure?