answersLogoWhite

0


Best Answer

Header file is a file which is meant to be included into another file during compilation. Examples: string.h, stdio.h, inttypes.h.

Header pointer is a pointer to an object called header (for example header of a linked list).

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the different between header file and header pointer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you create a user defined header file?

Header files are not much different from usual cpp files. There are basically two different things. It's file extension: you need to choose "header file" when you create it or save as .h file. Second is header files do not have main() function. When you are done with you header file do not forger to include it in your project by writing preprocessor directive:#include "your_header_file.h"


What is the header file of graphics?

The header file of graphics in TurboC is graphics.h


Can a shareable file be opened in a special way so when another process also reads it my process's file pointer is not advanced?

Your process' file pointer has nothing to do with the other process' file pointer.


What are the different types of files and how End Of File of a full represented by a pointer?

There are two file types in C++ namely, text file and binary file. In text file EOF or end of file is represented by an end of file character having ASCII 26. In binary files EOF or end of file is represented by NULL in the file pointer


What is the difference between the header file and the preprocessor directive in programming language cpp?

pata nhn


What is the use of header file stdbool.h?

stdbool header file use for a new data type that is boolean value


Which header file is FILE declared in?

The FILE type is declared in stdio.h.


If a file header is lost or corrupted and an application needs that header to read the file how can you recover the contents of the file?

Not possible. Always make backup copies.


What is a file pointer?

A file pointer is an opaque object that refers to a file. Opaque means that you should not attempt to delve into its specific value, other than to use it as a file pointer. FILE *fp; /* fp is the file pointer */ fp = fopen("somefile.txt"); if (fp == NULL) ...{exception}... fprintf(fp, "Hello somefile.txt"); fclose(fp);


How do you include a system header file called sysheader.h in a c source file?

There is no system header called share.h, but if there were, it would be: #include <share.h>


When is header file executed and why?

Never, and the reason is that header files are not meant to be executed.


Can you open header file?

Yes, it is a plain text file.