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
Explain do array subscripts always start with zero?
In C programming, what command or code can be used to determine if a number of odd or even?
Explain how do you view the path?
difference between native and cross compilers
What is output redirection?
Write a program to print factorial of given number using recursion?
How can you tell whether a program was compiled using c versus c++?
What does sizeof return c?
How does selection sort work in c?
What are directives in c?
Can we use visual studio for c?
What is an expression?
Is c call by value?
How many levels of pointers have?
What is a char c?