linked linked linkedin whatsapp remove
Feedback

System Programming Quiz System Programming

What will happen when the compiler 'sees' the following code? #define FTP_TYPE "" #ifdef -FTP #define FTP_TYPE "FTP" #elif #ifdef -PASV #ifndef FTP_TYPE #define FTP_TYPE "PASV" #endif #endif

It's not a question of 'when' but if: compiler will 'see' it only if -FTP or -PASV is set
Compile will proceed with a warning of #define'ing a symbol as a string
Compile will fail with an error of #define'ing a symbol as a string
It is neither 'code' nor will the compiler 'see' it

Answer:
It is neither 'code' nor will the compiler 'see' it

Note: This Question is unanswered, help us to find answer for this one