-->

Wednesday, December 10, 2014

C program to find the Size of Structure

#include<stdio.h>
/* structure is implimenting */
struct stud {
   int roll;
   char name[10];
   int marks;
};
/*main fuction begin*/
int main() {
   int size;
   struct stud s;
//size of the stucture
   size = sizeof(s);
   printf("nSize of Structure : %d", size);

   return(0);
}
JavaScript Free Code