C Program to Read and Print details of 50 Students using Structure
This program will explain the different operations that can be performed on the structure in c programming language.
This program will explain the different operations that can be performed on the structure in c programming language.
Problem Statement :Create one Structure and declare it inside union.Then accept values for structure members and display them.Write a program to use structure within union , display the contents of structure elements [crayon-60fba4c1053d3512240583/] Output : [crayon-60fba4c1053db487138262/]
Program : Calculate Size of Structure in C Programming [crayon-60fba4c105781806959309/] Explanation :Structure is Collection of elements of the Different data Types. Size of the Structure Can be Evaluated using "sizeof Operator"[crayon-60fba4c105789029894940/] Formula for Calculating Size of Structure : [crayon-60fba4c10578c445524012/] Remember :Sizeof is Operator not function Sizeof Operator Takes any Variable as Parameter.