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
Is this program statement valid? INT = 10.50;
What is a #include preprocessor?
Differentiate between ordinary variable and pointer in c.
Is it possible to initialize a variable at the time it was declared?
Difference between Function to pointer and pointer to function
What is memory leak in c?
Describe the steps to insert data into a singly linked list.
how can I convert a string to a number?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
What is the purpose of type declarations?
What is a newline escape sequence?
What is a string?
How can you increase the allowable number of simultaneously open files?
What is wrong with this program statement?
What is a wrapper function in c?