create a blank file and add following code
int sum(int a, int b)
save this file named with myheader.h
create a new file and call your function as given below
int sum(int a, int b)
{
return(a + b);
}
save this file named with myheader.h
create a new file and call your function as given below
#include<stdio.h>
#include<conio.h>
#include "mylib.h"
/*============================
Girfa Student Help
Substring wihout using library function
==============================*/
void main()
{
clrscr();
printf("\n\t%d",sum(1,2));
getch();
}