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
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
What does & mean in scanf?
explain what are actual arguments?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is a protocol in c?
How can you pass an array to a function by value?
Can you pass an entire structure to functions?
What is a static variable in c?
What is sorting in c plus plus?
What is the condition that is applied with ?: Operator?
Can you please explain the difference between malloc() and calloc() function?
Why is c so important?
Explain how can I open a file so that other programs can update it at the same time?
Differentiate call by value and call by reference?