Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a program that explain #define and # undef directive



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

Post New Answer

More C Interview Questions

What is action and transformation in spark?

0 Answers  


how to compare two strings without using strcmp() function??

1 Answers  


What was noalias and what ever happened to it?

0 Answers  


What is exit() function?

0 Answers  


disadvantages of realloc ?

1 Answers   HCL,


who is the editor of 'pokemon'?

1 Answers  


Hi, main() { } Is a user defined function or Built in Functionn

26 Answers   Honeywell, Yahoo,


What is meant by int main ()?

0 Answers  


how to generate the length of a string without using len funtion?

4 Answers  


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

0 Answers   College School Exams Tests,


write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?

4 Answers  


What is spark map function?

0 Answers  


Categories