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 give me some tips for the placement in the TCS.
Is c pass by value or reference?
What does == mean in texting?
What is the difference between constant pointer and constant variable?
What are static variables in c?
Difference between Function to pointer and pointer to function
How can a number be converted to a string?
What is use of #include in c?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Explain what is meant by 'bit masking'?
What is calloc() function?
What is the difference between struct and typedef struct in c?
What are the benefits of organizational structure?
What do header files do?
What are the types of operators in c?