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