Answer Posted / vignesh1988i
its simple logic , wat i think is to AND these two inputs.
#include<stdio.h>
#include<conio.h>
void main()
{
int n,m;
scanf("%d %d",&m,&n);
if(m>n)
printf("%d",m&n);
else
printf("%d",n&m);
getch();
}
thank u
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
What is the general form of #line preprocessor?
What is meant by high-order and low-order bytes?
what is the significance of static storage class specifier?
plz let me know how to become a telecom protocol tester. thank you.
What is 2 d array in c?
Explain what is a 'locale'?
explain what are pointers?
What is wrong with this program statement?
How a string is stored in c?
How can you pass an array to a function by value?
What is calloc in c?
What is header file in c?
By using C language input a date into it and if it is right?
What is substring in c?
How does free() know explain how much memory to release?