#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

Write a program to write a given string in maximum possibilities? i.e str[5]="reddy"; i.e we can write this string in 120 ways for that write a program

3 Answers   Subex,


What is information technology.

1 Answers  


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

0 Answers  


in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?

2 Answers   NetApp,


Why clrscr is used in c?

0 Answers  






why r u join this company? give solid resons.

16 Answers   IBM, Infosys, TCS,


Why & is used in scanf in c?

0 Answers  


Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 Answers   Accenture, TCS,


Where are some collections of useful code fragments and examples?

0 Answers   Celstream,


Explain what is wrong with this program statement?

0 Answers  


Why static variable is used in c?

0 Answers  


Do you know the use of fflush() function?

0 Answers  


Categories