I
Ivan
Hi all,
What is the scope of preprocessor #define?
Does it depends on the compiler?
Thanks
Ivan
What is the scope of preprocessor #define?
Does it depends on the compiler?
Thanks
Ivan
Ivan said:What is the scope of preprocessor #define?
Does it depends on the compiler?
Hi all,
What is the scope of preprocessor #define?
Does it depends on the compiler?
File scope, in all conforming implementations. However #defines areIvan said:What is the scope of preprocessor #define?
Does it depends on the compiler?
From that point on to the end of the file, or to a corresponding #undef
if there is one.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.