Jun 10, 2009

how wil u determine size of a numeric variable??

how will u determine size of a numeric variable??
X n=1;
int i=0;
while(n)
{
n=n<<1;
++i;
}
Return i;
or
X a[2];
abs((int)a[1]-(int)a[0]);// return byte’s number

No comments:

Post a Comment