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
define string ?
Explain how can I manipulate strings of multibyte characters?
How can I determine whether a machines byte order is big-endian or little-endian?
Why is c called a mid-level programming language?
What is the explanation for modular programming?
How do you write a program which produces its own source code as output?
What is sizeof array?
Write a program to check whether a number is prime or not using c?
Explain the difference between exit() and _exit() function?
What is the process of writing the null pointer?
What is the difference between declaring a variable and defining a variable?
What is boolean in c?
Why c is called free form language?
How many loops are there in c?
Where are the auto variables stored?