P
Peerless
Hi,
For some reason the below code doesnt produce results as i expect.
#include<stdio.h>
int main()
{
int hi=0xff;
int low=0xee;
long long big ;
big = ((long long) hi ) << 32 | low;
printf("%16x \n ",big);
}
I am lost trying to figure out the mistake i am making.Can you help me
out.Is it compiler dependent?
Deepak
For some reason the below code doesnt produce results as i expect.
#include<stdio.h>
int main()
{
int hi=0xff;
int low=0xee;
long long big ;
big = ((long long) hi ) << 32 | low;
printf("%16x \n ",big);
}
I am lost trying to figure out the mistake i am making.Can you help me
out.Is it compiler dependent?
Deepak