What should not contain a header file?
Answers were Sorted based on User's Feedback
Answer / laxman
header file should contain only declarations and structure
templates.It should not contain function definitions.
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / ada
Head file should not contain defining instances of global
variables and function bodies.
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the use of sizeof?
What are predefined functions in c?
What does the format %10.2 mean when included in a printf statement?
What are multibyte characters?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?
How can I open a file so that other programs can update it at the same time?
The variables are int sum=10,SuM=20; these are same or different?
if a five digit number is input through the keyboard, write a program to calculate the sum of its digits. (hint:-use the modulus operator.'%')
what does " calloc" do?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?