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
will u please send me the placement papers to my mail???????????????????
What is the time and space complexities of merge sort and when is it preferred over quick sort?
When should the register modifier be used? Does it really help?
Explain what are linked list?
What are the advantage of c language?
What is structure in c explain with example?
Explain what is wrong in this statement?
What will the preprocessor do for a program?
What are the types of pointers in c?
Explain what does a function declared as pascal do differently?
Define VARIABLE?
What is a null string in c?
What is stack in c?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
what is recursion in C