what information does the header files contain?

Answer Posted / vivek k dixit

A header file contains #define,structure,union and enum
declarations,it also contains global variable and external
funtion declarations.The # include directive should be used
to pull in header files.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain what is an endless loop?

611


Explain how can you be sure that a program follows the ansi c standard?

865


What is methods in c?

641


What is the use of typedef in structure in c?

546


What is %d called in c?

761






What is variable and explain rules to declare variable in c?

555


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

643


What is static identifier?

704


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

766


What is meant by high-order and low-order bytes?

656


can we implement multi-threads in c.

666


Is return a keyword in c?

598


If fflush wont work, what can I use to flush input?

615


What are derived data types in c?

610


What is the use of typedef in c?

585