#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

What is atoi and atof in c?

0 Answers  


whats the use of header file in c?

2 Answers  


which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none

7 Answers   Trident,


4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.

1 Answers   Wipro,


Where static variables are stored in memory in c?

0 Answers  






Explain goto?

0 Answers  


1) int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain the explain the output

2 Answers  


what is the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;

2 Answers   Google,


How can a number be converted to a string?

1 Answers  


What is 1d array in c?

0 Answers  


how to exchnage bits in a byte b7<-->b0 b6<-->b1 b5<-->b2 b4<-->b3 please mail me the code if any one know to rajeshmb4u@gmail.com

3 Answers   Honeywell, Huawei,


WAP &#8211; represent a char in binary format

4 Answers   Motorola, Wipro,


Categories