Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / vara
#include<stdio.h>
void main()
{
int a,b;
printf("enter a and b values");
scanf("%d%d",&a,&b);
a>b?printf("%d",a):printf("%d",b);
}
| Is This Answer Correct ? | 89 Yes | 11 No |
Post New Answer View All Answers
swap 2 numbers without using third variable?
in linking some of os executables are linking name some of them
What is wrong with this program statement? void = 10;
#include
Did c have any year 2000 problems?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
Can a variable be both static and volatile in c?
What is calloc()?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Explain spaghetti programming?
Can you explain the four storage classes in C?
What is the size of empty structure in c?
What is keyword in c?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
C program to find all possible outcomes of a dice?