fork download
  1. #include <stdio.h>
  2.  
  3. int add(int a, int b) {
  4. return a + b;
  5. }
  6.  
  7. int main() {
  8. int result = add(3, 5);
  9. printf("Result: %d\n", result);
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
Result: 8