implement NAND gate logic in C code without using any
bitwise operatior.
Answer Posted / senthil.cp
NAND using Bitwise operators
c = ~(a & b) OR
c = ~a | ~b
NAND without using bitwise operators
c = (0xFF - a) + (0xFF - b)
| Is This Answer Correct ? | 35 Yes | 16 No |
Post New Answer View All Answers
What is the scope of an external variable in c?
What is the difference between typedef struct and struct?
What is pass by value in c?
What is typeof in c?
What are variables and it what way is it different from constants?
Explain what are global variables and explain how do you declare them?
What does node * mean?
what is use of malloc and calloc?
How is a macro different from a function?
What is a pointer on a pointer in c programming language?
When is a void pointer used?
Explain indirection?
Write a C program in Fibonacci series.
c program to compute AREA under integral
How can you increase the allowable number of simultaneously open files?