fork(6) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. unsigned char a = 'A';
  5. int no = 2;
  6. printf("%d\n", (((a << no) & 0xFF) | (a >> (8-no))));
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
5