fork download
  1. #include <stdio.h>
  2. /* bool is_unsigned(unsigned int a) {
  3.   return true;
  4.   } */
  5. int is_unsigned(int a) {
  6. return a;
  7. }
  8. int main() {
  9. unsigned int a = 2;
  10. int b = -5;
  11. printf("%d\n", is_unsigned(a + b));
  12. return 0;
  13. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
-3