Make a header file in C language Reviewed by Momizat on . User can make a header file.follow steps:- make a function without using any header file. then go to save as command of file menu. open a dialog box then type f User can make a header file.follow steps:- make a function without using any header file. then go to save as command of file menu. open a dialog box then type f Rating: 0

Make a header file in C language

User can make a header file.follow steps:-

  • make a function without using any header file.
  • then go to save as command of file menu.
  • open a dialog box then type file name(manish.h) in directory (include directory)
  • then click on the ok button
  • path:-c:\tc\include\manish.h

Call your function with Example

#include <stdio.h>;
#include <conio.h>;
#include <manish.h>;
main(){
	clrscr();
	//sum() is define in manish.h file
	sum();
	getch();	

}

Leave a Comment

© 2014 Powered By