fork download
  1. #include <stdio.h>
  2. #define STRINGIFY2(A) #A
  3. #define STRINGIFY(A) STRINGIFY2(A)
  4. #define CIRC(X, Y, D) ((X)*(X) + (Y)*(Y) == (D))
  5. const char* foo = STRINGIFY(CIRC(x, y, 1.0));
  6. int main() {
  7. printf("%s\n", foo);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
((x)*(x) + (y)*(y) == (1.0))