[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 the subsititution scanned again with 10 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
-- A day without orange juice is like a day without orange juice.