#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 |
Explain how do you determine the length of a string value that was stored in a variable?
What is Lazy evaluation in C? Give an example.
Write a program that his output 1 12 123
what are the general concepts of c and c++
What is difference between arrays and pointers?
What does sizeof int return?
How can this be legal c?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What is structure in c language?
find largest of 3 no
Write a program that receives as input a number omaadel-n-print, four digits.
`write a program to display the recomended action depends on a color of trafic light using nested if statments