fork download
  1. #include <stdio.h>
  2.  
  3. #define SQUARE(X) (X*X)
  4.  
  5. inline int square(int x)
  6. {
  7. return x*x;
  8. }
  9.  
  10. int main(void) {
  11. // your code goes here
  12. int x = 3;
  13. int y = 3;
  14.  
  15. printf("%d \n",SQUARE(++x));
  16. printf("%d \n",square(++y));
  17.  
  18. return 0;
  19. }
  20.  
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
25 
16