Question:How to find size of structure data type without using sizeof operator in c programming language
Answer
#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; }
+ Report
How to find size of structure data type without using sizeof operator in c programming language