fork download
  1. #include <stdio.h>
  2.  
  3. int sum(int m, int n) {
  4. int x = m+ n;
  5. return x;
  6. }
  7. main() {
  8. int z;
  9. z = sum(10, 20);
  10. printf("z = %d\n", z);
  11.  
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 9416KB
stdin
Standard input is empty
stdout
z = 30