#include <stdio.h>
void main()
{
int i=-1,j=1,k,l;
k=!i&&j;
l=!i||j;
printf ("%d%d",k,l) ;
}
Answer Posted / snehal sawant
just print 01 no space and not assign to k and I
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain what is the difference between #include and #include 'file' ?
What is the use of #define preprocessor in c?
Where are the auto variables stored?
Explain enumerated types in c language?
What are the types of pointers?
Can a pointer point to null?
What is a ternary operator in c?
What is volatile, register definition in C
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
Simplify the program segment if X = B then C ← true else C ← false
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What is calloc in c?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What is a example of a variable?
What is the use of a static variable in c?