/*In the following program i have to find the size of structure cal without making use of sizeof Operator but is incomplete, so add minimum line of code accomplish this*/
//note :-do not make use of sizeof
#include<stdio.h>
struct cal
{
long double d;
float f;
char c;
};
void main()
{
int i;/*add code to find size*/;
printf("the size of cal is %d",i);
}
<< moderator edit: added [co[u][/u]de][/co[u][/u]de]
tags >>
can anyone tell me the solution for this problem