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
What is formal argument?
write a program to copy the string using switch case?
How are 16- and 32-bit numbers stored?
What is difference between structure and union in c?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
What is the meaning of 2d in c?
Explain the difference between malloc() and calloc() function?
What is calloc malloc realloc in c?
What are the types of pointers in c?
How can I automatically locate a programs configuration files in the same directory as the executable?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Calculate 1*2*3*____*n using recursive function??
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What does emoji p mean?