size = (((aa+1)*(bb+1))<<1) ??

hi
I have write a smaple code like this

uint size =0;
uchar aa = 0x15;
uchar bb = 0x11;

size = (((aa+1)*(bb+1))<<1);

why size is 0x18 not 0x318??
How to get correct answer??

thanks a lot

Parents Reply Children
No data
More questions in this forum