#include <stdio.h>

int add(int a,int b);

int main() {
    int n1=5,n2=6,c;
    c=add(n1,n2);
    printf("%d",c);
    return 0;
}

int add(int a,int b){
    int sum;
    sum=a+b;
    return sum;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: