Functions with arguments and no return values.
Categories: C Programming language
#include <stdio.h>
#include <conio.h>
void sub (int a, int b)
{
int s;
clrscr();
s=a-b;
}
void main()
{
sub(45,40);
printf ("The subtraction is =",s);
}
Output : The subtraction is 5