C program to find the size of a union

Editorial Staff - - C Programming Tutorial


In this program, we are going to share a C program to find the size of a union. If you are a beginner and want to start learning the C programming, then keep your close attention in this tutorial as I am going to share a C program to find the size of a union with the output.

We have designed this program for beginners for learning purpose. Copy below c program and execute it with c compiler to see the output of the program.

Output

The size of union = 4
25 0.000000
1045220557 0.200000
1045220464 0.199999


About: Editorial Staff

Editorial Staff at FreeWebMentor is a team of professional developers leads by Prem Tiwari