whats the use of header file in c?
Answers were Sorted based on User's Feedback
Answer / shalini
header file constitutes all the pre defined functions that
are necessary for a program to run.hence whenever u compile
a program the compiler links all the header files into the
corresponding program and starts execution
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / prabhakar
because it consists the definations of per defined functions
...
hence it will be includes the corresponding definations of
function when ever you called the function.
| Is This Answer Correct ? | 4 Yes | 3 No |
Can you add pointers together? Why would you?
Is it fine to write void main () or main () in c?
Write a program that an operator and two operands read from input operand operator on the implementation and results display.
What is property type c?
What is the advantage of using #define to declare a constant?
0 Answers Agilent, ZS Associates,
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
Can you write the function prototype, definition and mention the other requirements.
What is the difference between NULL and NUL?
What does *p++ do? What does it point to?
write a c program to find the square of a 5 digit number and print the result.
5 Answers Accenture, Sasken, Vimukti Technologies,
What is function definition in c?
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?