#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 |
What is atoi and atof in c?
whats the use of header file in c?
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
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.
Where static variables are stored in memory in c?
Explain goto?
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
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++;
How can a number be converted to a string?
What is 1d array in c?
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
WAP – represent a char in binary format