Thread
:
calculating size of int without sizeof operator
View Single Post
mohan kumar
Newbie Member
23May2011,01:33
#include<stdio.h>
void main()
{
float i;
float * p = &i;
float * q= p;
p++;
printf("%d",int(p)-int(q));
}