fork download
  1. #include<stdio.h>
  2. void myOtherFunction() {
  3. printf("Hey! Some text in myOtherFunction\n");
  4. }
  5. int main() {
  6. myFunction(); // call myFunction (from main)
  7. return 0;
  8. }
  9.  
  10. // Define myFunction
  11. void myFunction() {
  12. printf("Some text in myFunction\n");
  13. myOtherFunction(); // call myOtherFunction (from myFunction)
  14. }
  15.  
  16. // Define myOtherFunction
  17.  
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
Some text in myFunction
Hey! Some text in myOtherFunction