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 does %d do?
Do you have any idea how to compare array with pointer in c?
List some of the static data structures in C?
How can I discover how many arguments a function was actually called with?
What does d mean?
How does normalization of huge pointer works?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What does c mean in standard form?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
write a program to rearrange the array such way that all even elements should come first and next come odd
I have seen function declarations that look like this
c program to compute AREA under integral
What is output redirection?
Explain what’s a signal? Explain what do I use signals for?
If the size of int data type is two bytes, what is the range of signed int data type?