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
Why is event driven programming or procedural programming, better within specific scenario?
What is call by value in c?
How #define works?
How can I write a function that takes a format string and a variable number of arguments?
What is spaghetti programming?
Why is it usually a bad idea to use gets()? Suggest a workaround.
How many bytes is a struct in c?
Is c pass by value or reference?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
When c language was developed?
How does pointer work in c?
What are global variables?
Write a program of prime number using recursion.
Place the #include statement must be written in the program?
What is the use of extern in c?