fork download
  1. #include <stdio.h>
  2.  
  3. main()
  4. {
  5. int x = 3;
  6. printf("Square of %d = %d\n", x, square(x));
  7. }
  8.  
  9. square(x)
  10. {
  11. int y = 3 * 3;
  12. return y;
  13. }
  14.  
Success #stdin #stdout 0s 4312KB
stdin
Standard input is empty
stdout
Square of 3 = 9