what is the defrenece between structure and union
Answer Posted / abhradeep chatterjee
all of you are correct. ya, 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 which is declared.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does typedef struct mean?
In c programming language, how many parameters can be passed to a function ?
What is the correct code to have following output in c using nested for loop?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
What are the advantages of the functions?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
Explain bit masking in c?
How do you print an address?
What is meant by type specifiers?
What is the difference between new and malloc functions?
What does the message "automatic aggregate intialization is an ansi feature" mean?
What is variable in c example?
What is logical error?
What is a function simple definition?