Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
// Function declaration int myFunction(int x, int y); // The main method int main() { int result = myFunction(5, 3); // call the function printf("Result is = %d", result); return 0; } // Function definition int myFunction(int x, int y) { return x + y; }
Result is: 8