write a c program to find the size of structure without using sizeof operator | CTechnotips

#include<stdio.h>
struct student{
    int roll;
    char name[100];
    float marks;
};
int main(){
  struct student *ptr = 0;
  ptr++;
  printf("Size of the structure student:  %d",ptr);
  return 0;
}

1 comments:

Anonymous said...

okkk

Post a Comment