I was asked this as interview question. Couldn\'t answer.
Write a C program to find size of structure without using the sizeof operator.
sizeof
struct ABC { int a; float b; char c; }; void main() { struct ABC *ptr=(struct ABC *)0; ptr++; printf("Size of structure is: %d",*ptr); }