The following 'C' program
main
{
unsigned int num;
int i;
scanf("%u",&num);
for(i=0;i<16;i++)
printf("%d",(num<<i&1<<15)?1:0);
}
A. | Prints all even bits from num |
B. | Error |
C. | Prints binary equivalent of num |
D. | none of these |
Answer : C Explanation : senthil said: (9:38pm on Saturday 25th February 2017)
in this question main is printed Instead of main() will it work?
|
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |