#include void add(int x, int y, int *s) { *s = x + y; } int main(void) { int x = 4, y = 5, s; add(x, y, &s); printf("sum=%d\n",s); }