what is a headerfile?and what will be a program without it
explain nan example?
Answer Posted / praveen badiger
Header files are predefined function, these are defined in .h extention .if u not used the header file compiler will through an error message..
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate between the = symbol and == symbol?
What is the explanation for modular programming?
What does. int *x[](); means ?
Differentiate between new and malloc(), delete and free() ?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is difference between scanf and gets?
Where are some collections of useful code fragments and examples?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Explain can the sizeof operator be used to tell the size of an array passed to a function?
if p is a string contained in a string?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Is there any possibility to create customized header file with c programming language?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
What do you mean by a sequential access file?
What is use of null pointer in c?