#include <iostream>
using namespace std;
void sum(int,int); 
void sum(int);
int main() {
    
int a,b;
    sum( a, b);
    sum(4);
    return 0;
}
void sum(int a,int b){
    a= 10,b= 5;
    
   int c=a+b;
    printf("%d\n",c);
}

void sum(int ab){
    int a= 10,b= 9;
    
   int c=a+b;
    printf("%d",c);
}

Embed on website

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