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
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
How are strings stored in c?
How can I change their mode to binary?
why we wont use '&' sing in aceesing the string using scanf
How to compare array with pointer in c?
Is c procedural or functional?
hi, which software companys will take,if d candidate's % is jst 55%?
What are compound statements?
Why c is called a middle level language?
What is wrong with this initialization?
Can I initialize unions?
Explain what is a program flowchart and explain how does it help in writing a program?
Write a program for finding factorial of a number.
what is a constant pointer in C
What is sizeof array?