biggest of two no's with out using if condition statement
Answer Posted / deepshree sinha
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,m;
printf('enter any two numbers");
scanf("%d %d",&a,&b);
m=(a>b)?a:b;
printf("m=%d",m);
getch();
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the different data types in C?
What are the uses of null pointers?
What is the best way to comment out a section of code that contains comments?
What are the 5 elements of structure?
What is the difference between mpi and openmp?
Can we assign integer value to char in c?
What is a lookup table in c?
What is meant by keywords in c?
Explain argument and its types.
How to draw the flowchart for structure programs?
Can you write the algorithm for Queue?
Is null a keyword in c?
What is the difference between break and continue?
What are the advantages of the functions?
For what purpose null pointer used?