Untitled
raw download clone
C
views 47
,
size 344 b
#include <stdio.h>
#include <stdint.h>


int add(int n1, int n2);


int main(int argc, char **argv)
{
    
    int x =5;
    int y =6;
    int result;
    
    result = add(x,y);
    
    printf("%d + %d = %d\n", x, y, result);
    
	return 0;
}

int add(int n1, int n2)
{
    int result = n1 + n2;
    return result;
}
close fullscreen
Login or Register to edit or fork this paste. It's free.