What are the uses of pre-processor directives?

Answers were Sorted based on User's Feedback



What are the uses of pre-processor directives?..

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

What are the uses of pre-processor directives?..

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

Post New Answer

More C Interview Questions

What is sizeof int?

0 Answers  


write a c code "if you give a any decimal number then print that number in english alphabet"? ex: i/p: 552 o/p: five hundred fifty two ...

1 Answers   Philips,


Explain spaghetti programming?

0 Answers  


Which is better between malloc and calloc?

0 Answers  


write a program that will read the temperature in Celsius and convert that into Fahrenheit.

1 Answers  






What is structure padding & expalain wid example what is bit wise structure?

1 Answers  


What do you mean by team??

5 Answers   Student,


Is main() function predfined or userdefined?

11 Answers  


What is printf () in c?

0 Answers  


Where are local variables stored in c?

0 Answers  


What is a program flowchart and explain how does it help in writing a program?

0 Answers  


a simple program in c language

5 Answers   IBM,


Categories