what is the difference between structure and union?

Answer Posted / dasari chaithanya

The difference between structure and union is ,structure
will occupie total number of bytes or memory sometimes
waste memory,but union is which is the higest memory than
the data will store the memory location.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention four important string handling functions in c languages .

635


Are comments included during the compilation stage and placed in the EXE file as well?

674


What is the role of && operator in a program code?

576


What are header files in c?

624


What is the use of a semicolon (;) at the end of every program statement?

784






How can I delete a file?

634


Explain Basic concepts of C language?

652


What is bss in c?

609


When can you use a pointer with a function?

576


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

987


write a program to print data of 5 five students with structures?

1613


What is "Duff's Device"?

705


Write the Program to reverse a string using pointers.

625


Do pointers take up memory?

667


How was c created?

594