which one is not preprocessor directive
a)#if b)#elif c)#undef d)#pragma

Answer Posted / lnk

before asnwering please do understand what are
preprocessive directive ....

A preprocessive derectives are used because it would be
easy to change and easy to compile in different execution
environments. Directives in the source file tell the
preprocessor to perform specific actions



# if is #if: This directive executes its associated block
of code if and only if the condition specified along with
this directive is evaluated to true.

#elif: Else-if conditions can be specified using #elif
directive. Block of code associated with #elif directive
will be triggered if the condition specified in this
directive is evaluated to true and the condition specified
by its related if statement is evaluated to false. #elif
block is optional.

#undef: This directive does the reverse process of #define
directive. #undef will reset its associated identifier to
Boolean value “false”.

#pragma: This directive controls the display of warning
message specified using #warning directive. I


so all of them are preprocessive directives ...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I convert a string to a number?

644


How can I call fortran?

644


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3127


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

626


What is far pointer in c?

814






What is output redirection?

695


Tell us bitwise shift operators?

600


What does int main () mean?

553


What are the different types of control structures?

588


Can you apply link and association interchangeably?

680


With the help of using classes, write a program to add two numbers.

620


Explain what is the heap?

624


What is c token?

612


What will be your course of action for a push operation?

669


Explain b+ tree?

630