retagged by
518 views

1 Answer

Best answer
2 votes
2 votes

Answer d is correct since the left shift operator multiplies a given no a by d power of 2. So here if 2 is mentioned then it is certainly multiplication by the power of 2 which is 4. I hope d explanation helps you. For more information on left shift operator visit the link below. Okay!!!

http://www.c4learn.com/c-programming/c-bitwise-left-shift-operator/

selected by

Related questions

0 votes
0 votes
0 answers
2
Kaushal Sanadhya asked Oct 4, 2018
481 views
#include <stdio.h>int main(){ int i = 3; printf("%d", (++i)++); return 0;}Why does the above code is giving error?
0 votes
0 votes
1 answer
3
sumit_kumar asked May 1, 2018
2,335 views
Main (){Int x,y , z;X=y=z=1;Z=++x||++y&&++z;Printf ("x=%d y=%d z=%d",x,y,z);}
0 votes
0 votes
2 answers
4
Lakshman Bhaiya asked Apr 21, 2018
2,524 views
Q) What is the output of the following C Program fragment#include<stdio.h>int main(){int a = 4, b = 3;printf("%d",a+++++b);return 0;} A) 7 B) 8 C) 9 ...