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 |
Are there any problems with performing mathematical operations on different variable types?
How is a pointer variable declared?
Explain Function Pointer?
Can you write the function prototype, definition and mention the other requirements.
how to print "hai" in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
How would you rename a function in C?
enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?
4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.
Which of these functions is safer to use : fgets(), gets()? Why?
What do you mean by Recursion Function?
code for find determinent of amatrix