[Solved] given two integers write a program that uses function add() to add these numbers and sub() to find the difference [closed]


You just need to pass parameters no need specify parameter type when calling the function in c.

Change

h=add(int x, int y);

to

h=add(x,y);

have a look at this:-http://www.techcrashcourse.com/2015/05/c-programming-function-calling.html

solved given two integers write a program that uses function add() to add these numbers and sub() to find the difference [closed]