implement NAND gate logic in C code without using any
bitwise operatior.
Answer Posted / laxmi bose
#include<stdio.h>
main()
{
int a,b;
scanf("%d%d",&a,&b);
if(a==0||b==0)
{
printf("1");
}
else
{
printf("0");
}
| Is This Answer Correct ? | 42 Yes | 13 No |
Post New Answer View All Answers
What is spark map function?
Can you apply link and association interchangeably?
Explain what are binary trees?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
write a program to generate address labels using structures?
What is oops c?
If I have a char * variable pointing to the name of a function ..
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is array of structure in c programming?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
What is the advantage of an array over individual variables?
What is a substring in c?
Write a program to generate the Fibinocci Series
What are external variables in c?