#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 ? | 27 Yes | 5 No |
how to devloped c lenguege?
extern static int i func() { i =10; i++; printf("%d \n",i); } main() { i =20; printf("%d \n",i); func(); printf("%d \n",i); }
what is difference between C and C++
write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+
how to find the kth smallest element in the given list of array elemnts.
can we change the default calling convention in c if yes than how.........?
main() { intx=2,y=6,z=6; x=y=z; printf(%d",x) }
5 Answers Amazon, HCL, Thought Works,
main() { float a=3.2e40; printf("%d",a); }
Why c is known as a mother language?
an algorithem for the implementation of circular doubly linked list
What does typedef struct mean?
What is the Difference between Class and Struct?