C++ program to create our own header file and use this in our program

 Open new file and create functions in your header file and save this program with (. h)

extension.


Now open another file and append that header file in your program and call those functions from your header file . make sure that you use double quotes ("myhead.h") to include user defined header file



Output




Comments