fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int num=-16;
  5. printf("2칸 오른쪽으로 이동의 결과:%d \n",num>>2);
  6. printf("2칸 왼쪽으로 이동의 결과:%d \n",num>>3);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 4388KB
stdin
Standard input is empty
stdout
2칸 오른쪽으로 이동의 결과:-4 
2칸 왼쪽으로 이동의 결과:-2