Code:
int main() 
{ 
int var = 01; 
int cnt = 0; 
int siz; 
while(var) 
{ 
  var << =  1; 
  cnt++; 
} 
siz = cnt/8; 
printf("size of integer %dn", siz);
return 0;
}

Last edited by shabbir; 12Feb2008 at 21:03.. Reason: Code block - http://www.go4expert.com/forums/misc.php?do=bbcode#code