implement NAND gate logic in C code without using any
bitwise operatior.
Answer Posted / qwake
!(a*b)
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
Write a program to check armstrong number in c?
Why do we need a structure?
How many types of functions are there in c?
What are the key features in c programming language?
How can I avoid the abort, retry, fail messages?
What is a example of a variable?
State two uses of pointers in C?
What is the purpose of macro in C language?
What are inbuilt functions in c?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What are the advantages and disadvantages of a heap?
What is a list in c?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What is a constant?
Why clrscr is used in c?