#include <stdio.h>
int sum(int x, int y);
int main(void) {
int a = 10, b = 20;
int result;
result = sum(a, b);
printf("result : %d\n", result);
return 0;
}
int sum(int x, int y)
{
int temp;
temp = x + y;
return temp;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: