#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



#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf (&qu..

Answer / sandeep

k=0,l=1

Is This Answer Correct ?    3 Yes 0 No

#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf (&qu..

Answer / snehal sawant

just print 01 no space and not assign to k and I

Is This Answer Correct ?    1 Yes 0 No

#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf (&qu..

Answer / himanshu bhavani

K=0, l=1

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Explain how do you determine the length of a string value that was stored in a variable?

0 Answers  


What is Lazy evaluation in C? Give an example.

1 Answers  


Write a program that his output 1 12 123

0 Answers  


what are the general concepts of c and c++

2 Answers  


What is difference between arrays and pointers?

0 Answers  






What does sizeof int return?

0 Answers  


How can this be legal c?

0 Answers  


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?

0 Answers  


What is structure in c language?

0 Answers  


find largest of 3 no

8 Answers  


Write a program that receives as input a number omaadel-n-print, four digits.

0 Answers  


`write a program to display the recomended action depends on a color of trafic light using nested if statments

0 Answers  


Categories