What are the uses of pre-processor directives?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is methods in c?

649


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

1786


Write a program of prime number using recursion.

623


Write a program to implement queue.

672


What is void main () in c?

738






What are run-time errors?

604


Why double pointer is used in c?

573


What is abstract data structure in c?

533


Is fortran still used in 2018?

599


What do you mean by scope of a variable in c?

548


What is integer constants?

626


Why we use int main and void main?

543


What's the best way of making my program efficient?

631


Explain the difference between call by value and call by reference in c language?

652


Explain 'bus error'?

566