1 votes 1 votes What is the output$?$ #define THIS #define THAT void main() { #ifdef THIS && THAT printf("I love beer"); #else printf("I love chicken"); #endif } I love beer I love chicken Segmentation fault Syntax error Programming in C programming-in-c output virtual-gate-test-series + – Purple asked Jan 10, 2017 edited Apr 14, 2019 by Lakshman Bhaiya Purple 306 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes I love beer could be the output i think...both THIS and THAT are true by default sandeepjkh answered Sep 5, 2017 sandeepjkh comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes I love beer. Defining macros without values:http://www.thegeekstuff.com/2012/05/c-macros/ Purvi Agrawal answered Sep 5, 2017 Purvi Agrawal comment Share Follow See all 0 reply Please log in or register to add a comment.