MCQs>IT & Programming>C++>How to make the C/C++ source can be built for any architecture,select proper answer?
C++ MCQs
How to make the C/C++ source can be built for any architecture,select proper answer?
Answer
Correct Answer: Use #ifdef/#endif macros within the source code like below #if defined(__i386__) // do something for 32bit ARCH #elif defined(__x86_64__) // do something for 64bit ARCH #endif
Explanation:
Note: This Question is unanswered, help us to find answer for this one