fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. double hui[2];
  5. memset(hui, -1, sizeof(hui));
  6. printf("%f %f\n", hui[0], hui[1]);
  7. printf("%d\n", (int)(hui[0] == hui[1]));
  8. printf("%d\n", (int)(hui[0] != hui[1]));
  9. }
  10.  
Success #stdin #stdout 0s 4540KB
stdin
Standard input is empty
stdout
-nan -nan
0
1