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 |
program to find the second largest word in a paragraph amongst all words that repeat more thn twice
What is difference between array and pointer in c?
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
#‎include‬<stdio.h> void main() { int i; for(i=5;0;i++) { printf("%d",i); } }
what is calloc and malloc?
What is the symbol indicated the c-preprocessor?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
which do you prefer C or Pascal?
What are runtime error?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...
Explain Function Pointer?
Give differences between - new and malloc() , delete and free() ?