write a program that explain #define and # undef directive
Answer Posted / ravi joshi
The following code snippet explain the use of #define and
#undef preprorcessor directives.
/* define our own value of NULL */
#ifdef NULL
#undef NULL /* if NULL is already defined, then
undefine it */
#define NULL ((void*)0) /* define our own version of NULL
#endif
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Explain how can I make sure that my program is the only one accessing a file?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Tell me what are bitwise shift operators?
Is sizeof a keyword in c?
Explain what is the use of a semicolon (;) at the end of every program statement?
What are the back slash character constants or escape sequence charactersavailable in c?
Tell me the use of bit field in c language?
Is null valid for pointers to functions?
what is reason of your company position's in india no. 1.
What are structure types in C?
What is build process in c?
Why do we use main function?
How to define structures? ·
What is d'n in c?