why do we use # in c-language?
Answer / raj
This is for including Header files in your 'C' program.
Header files means to include built-in files of your C
library.The #include directive tells the preprocessor to
treat the contents of a specified file as if those contents
had appeared in the source program at the point where the
directive appears. You can organize constant and macro
definitions into include files and then use #include
directives to add these definitions to any source file.
| Is This Answer Correct ? | 7 Yes | 0 No |
Where can I get an ansi-compatible lint?
Explain what is the difference between far and near ?
Explain #pragma in C.
Describe advantages and disadvantages of the various stock sorting algorithms
What is sizeof array?
Explain how can I remove the trailing spaces from a string?
we have to use realloc only after malloc or calloc ? or we can use initially with out depending on whether we are using malloc or calloc in our program ?
What happens if header file is included twice?
What is function what are the types of function?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
What does volatile do?
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.