0

How many times this will be printed

>> operator

26th Mar 2020, 9:05 PM
Ajith
Ajith - avatar
3 Respostas
0
int i=1024; while(i){ printf("sololearn \n"); i>>=1; }
26th Mar 2020, 9:06 PM
Ajith
Ajith - avatar
0
right shift operator like if x>>=y the formula is x=x/(2^y) for 1024>>1 is equals 1024/(2^1)
27th Mar 2020, 3:08 AM
satya sri
satya sri - avatar