Tuesday, 28 July 2015

Programs to be explained in short

Programs to be explained in short
Q1.
main() 
{ 
int i=3; 
switch(i) 
{ 
default:printf("zero"); 
break; 
case 1: printf("one"); 
break;
more.................
Q2.
main() 
{ 
printf("%x",-1<<4); 
}
more..............
Q3. 
‪#‎define‬ uint16 unsigned short int 
main() 
{ 
uint16 i=65; 
printf("sizeof(i)=%d",sizeof(i)); 
}

No comments:

Post a Comment