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