fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a=1;
  5. int* p=&a;
  6. printf("%p\n",p);
  7. printf("%p\n",p | 1);
  8. return 0;
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:7: error: invalid operands to binary | (have ‘int *’ and ‘int’)
stdout
Standard output is empty