C Programming :: C Preprocessor - Discussion
Home > C Programming > C Preprocessor > MCQs Questions Discussion
6 / 34
What will be output of the following "c" code?
#include<stdio.h>
#define FALSE -1
#define TRUE 1
#define NULL 0
int main() {
if(NULL)
puts("NULL");
else if(FALSE)
puts("TRUE");
else
puts("FALSE");
}
#include<stdio.h>
#define FALSE -1
#define TRUE 1
#define NULL 0
int main() {
if(NULL)
puts("NULL");
else if(FALSE)
puts("TRUE");
else
puts("FALSE");
}
AFALSE
BTRUE
CCompilation error
DNone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!