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
Explain the priority queues?
Why doesnt the call scanf work?
How many identifiers are there in c?
What is an example of structure?
please explain every phase in the "SDLC" in the dotnet.
What is an operator?
What are the different types of data structures in c?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
How do you search data in a data file using random access method?
With the help of using classes, write a program to add two numbers.
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
difference between native and cross compilers
Write a program with dynamically allocation of variable.
What is use of integral promotions in c?
code for replace tabs with equivalent number of blanks