Re: [algogeeks] Preprocessor Help !!

2011-08-10 Thread Abhishek Gupta
Answer 2) To prevent use of NULL with any other variable instead of 0(zero), it is set at void pointer. for ex, you cannot use in C like this, a=b+NULL; but, i think, in C++ you can do. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To view

[algogeeks] Preprocessor Help !!

2011-08-09 Thread Decipher
Q1) How to find factorial of a number at pre-processor stage only ? Q2) In C++ NULL is defined as* #define NULL 0* while in C it is defined as *#define NULL (void *) 0 . *What difference it makes ? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

Re: [algogeeks] Preprocessor Help !!

2011-08-09 Thread Amol Sharma
http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1047589067id=1043284376 -- Amol Sharma Third Year Student Computer Science and Engineering MNNIT Allahabad On Tue, Aug 9, 2011 at 10:20 PM, Decipher ankurseth...@gmail.com wrote: Q1) How to find factorial of a number at pre-processor