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
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
How are variables declared in c?
Why & is used in c?
What does the c in ctime mean?
When should a far pointer be used?
What is an identifier?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What is variable in c example?
In C, What is the #line used for?
How are strings stored in c?
What is abstract data structure in c?
Tell me about low level programming languages.
What is self-referential structure in c programming?
Do pointers store the address of value or the actual value of a variable?