Mega Code Archive

 
Categories / C Tutorial / Operator
 

To divide value by 4

#include <stdio.h> int main(){    int x, y = 8;    x = y >> 2;       printf("%d",x);    x = y/4;       printf("%d",x); }