#include <stdio.h>
void main()
{
int i=-1,j=1,k,l;
k=!i&&j;
l=!i||j;
printf ("%d%d",k,l) ;
}
Answers were Sorted based on User's Feedback
Answer / snehal sawant
just print 01 no space and not assign to k and I
| Is This Answer Correct ? | 1 Yes | 0 No |
What is an example of enumeration?
What is difference between structure and union in c programming?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
Are negative numbers true in c?
write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+
What is the use of the #include directive?
Why are algorithms important in c program?
In which header file is the null macro defined?
WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N TIMES C COMES N TIMES D COMES N TIMES AND SO ON......... AT LAST UNTIL Z COMES N TIMES...............
What is wrong in this statement? scanf(“%d”,whatnumber);
If errno contains a nonzero number, is there an error?