what is the defrenece between structure and union
Answer Posted / kapildalke
Thanks for these answer renuka..............
it means that
struct student
{
int i;
char a,b;
}
it occupy 4 bytes of memory..........
and in case of union
union student
{
int i;
char a,b;
}
it occupies only 2 byte memory.............
Am i write or wrong
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
What is getch?
Write a program to check prime number in c programming?
Is null always defined as 0(zero)?
What is include directive in c?
Explain the Difference between the New and Malloc keyword.
What does the format %10.2 mean when included in a printf statement?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is the acronym for ansi?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
how can I convert a string to a number?
Who is the founder of c language?
Where define directive used?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Is null always equal to 0(zero)?
about c language