write a program that explain #define and # undef directive
Answer / 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 |
I have a function which accepts a pointer to an int. How can I pass a constant like 5 to it?
write an algorithm which can find the largest number among the given list using binary search ............... this was asked in the interview
2 Answers Satyam, UNIS, Wipro,
In C programming, what command or code can be used to determine if a number of odd or even?
What is a program flowchart and how does it help in writing a program?
What do you mean by recursion in c?
What is the difference between volatile and const volatile?
How to calculate Total working time using Login and logout?
2 Answers CTS, Cygnus, Infosys, Signal Networks, TCS, Wipro,
how to generate the length of a string without using len funtion?
What is void c?
Explain low-order bytes.
How can you print HELLO WORLD without using "semicolon"?
Without Computer networks, Computers will be half the use. Comment.