biggest of two no's with out using if condition statement
Answer Posted / jasna.c
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,big;
printf("\nEnter the two numbers ");
scanf("%d%d",&a,&b);
big=(a>b)?a:b;
printf("\n The biggest number is %d",big);
getch();
}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Write a program to find factorial of a number using recursive function.
How can I list all of the predefined identifiers?
Why is structure padding done in c?
How can you access memory located at a certain address?
Can a function argument have default value?
What is scanf_s in c?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What is boolean in c?
What is this infamous null pointer, anyway?
What does the file stdio.h contain?
Can we declare function inside main?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Why is c used in embedded systems?
What is ponter?
What is the purpose of realloc()?