implement NAND gate logic in C code without using any
bitwise operatior.
Answer Posted / vadivel t
int a, b;
scanf("%d %d", &a, &b);
if(a != 0 || b != 0)
{
printf("1");
}
else
{
printf("0");
}
| Is This Answer Correct ? | 28 Yes | 20 No |
Post New Answer View All Answers
Tell me with an example the self-referential structure?
What is the use of f in c?
Explain what are multidimensional arrays?
What are identifiers c?
Why static is used in c?
Explain high-order bytes.
What is the maximum length of an identifier?
What is getch() function?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
How can you determine the maximum value that a numeric variable can hold?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
what is the height of tree if leaf node is at level 3. please explain
What is a method in c?
How does normalization of huge pointer works?
Explain what are global variables and explain how do you declare them?