#define FALSE -1
#define TRUE 1
#define NULL 0
main()
{
if(NULL)
puts("NULL");
else if(FALSE)
puts("TRUE");
else
puts("FALSE");
}
Answer / sorab aggarwal
print TRUE becoz
if condition false when it 0 and if any other value occurs it is true ..
if(0)
puts("NULL"); //false this condition
else if(-1)
puts("TRUE"); //true this condition
else
puts("FALSE");
Is This Answer Correct ? | 25 Yes | 5 No |
nic scientist exam
Why does not use getgh(); and <conio.h> in c language.
How can I implement a delay, or time a users response, with sub-second resolution?
What is macro?
Explain a file operation in C with an example.
how many keywords are available in 'c' language a) 32 b) 34 c) 45 d) 48
DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?
differentiate between const char *a; char *const a; and char const *a;
2 Answers College School Exams Tests, HCL, TCS,
What is build process in c?
A array contains dissimilar element how can we count, and A array contains dissimilar element how can we store in another array with out repetition.
How many types of operators are there in c?
What is #line used for?