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 is an lvalue?
How can I dynamically allocate arrays?
Is c a great language, or what?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
Explain how can I convert a number to a string?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
Why we use int main and void main?
Why is structure padding done in c?
What is the difference between char array and char pointer?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
How many bytes are occupied by near, far and huge pointers (dos)?
what do u mean by Direct access files? then can u explain about Direct Access Files?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What are the complete rules for header file searching?
What is sizeof array?