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
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is a static variable in c?
Explain the bubble sort algorithm.
praagnovation
Why is main function so important?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
Explain a file operation in C with an example.
What is this infamous null pointer, anyway?
What is the use of a static variable in c?
Why doesnt long int work?
What are the similarities between c and c++?
What are structure types in C?
What are header files in c programming?
What is the process to create increment and decrement stamen in c?
What does c mean?