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
How can my program discover the complete pathname to the executable from which it was invoked?
How #define works?
What is void main () in c?
What are the Advantages of using macro
What is the ANSI C Standard?
What is function prototype in c with example?
What is formal argument?
How do I read the arrow keys? What about function keys?
Explain the difference between #include "..." And #include <...> In c?
What is difference between structure and union with example?
What is c language & why it is used?
write a program to print largest number of each row of a 2D array
What is the argument of a function in c?
What is c language in simple words?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell