What are the uses of pre-processor directives?
Answers were Sorted based on User's Feedback
Answer / raghav_jk
Preprocessor Directive are
#include
#if
#else
#define
#ifdef
#ifndef
#endif
the command starts with # are called preprocessor directives
Uses
File Inclussion
Conditional Compilation
Macro Expansion
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / vl
The pre processor directives are the code line which are
replaced by the actuall value (header file and Macro
replacements) before compiler start the syntax checks.
| Is This Answer Correct ? | 9 Yes | 2 No |
What are the types of assignment statements?
What is union and structure?
What is the difference between %d and %i?
Explain what are the different file extensions involved when programming in c?
Can we declare function inside main?
Can an array be an Ivalue?
What is the use of typedef in structure in c?
Can a pointer be null?
How can I find the modification date of a file?
What is c variable?
Evaluate the following: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); 1) 10 2) 11 3) 1
what are the stoge class in C and tel the scope and life time of it?