Data
Data
3.What will be the equivalent in hexadecimal for the given binary data:
a) 11101101101 b) 0100010010111
8. if the variable is declared as given below, then what will be the exact
binary presentation in memory, when the program is being executed?
char ch1=’6’ , ch2=’a’, ch3=’*’, ch4=’ ‘,ch5=98;
char v1=127,v2=128;
unsigned char u1=127,u2=128,u3=255,u4=256;
9. if the following integer variables are declared, then what will be exact
picture of memory occupied .
short int s1=50, s2=-5, s3=32767,s4=32768;
10.If the integer variables are declared as given below, then predict the
binary presentation in memory.
int i=’1’, j=520, k=65536, l=-2, m=-50