[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
macros
hi
i wanna know about the working of preprocessors when dealing with macros in C.
suppose i have a macro within a macro. say
#define MAX MIN
#define MIN 10
if i now write MAX some where in my code. 10 is substituted for it. i wanna know whether first MIN is
substituted in place of MAX and may be in next pass 10 is substituted for MIN. or directly 10 is substituted
for MAX with some earlier processing some where.
-----------------------------
reply soon
bye
==== deepak ----
have a great day
ICQ 30662394
-- In God we trust; all else we walk through.