Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / amit
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
(a>b)?printf("a is larger") : printf(" b is larger ");
getch();
}
Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
What is floating point constants?
Can i use “int” data type to store the value 32768? Why?
what is the difference between class and unio?
Which of these functions is safer to use : fgets(), gets()? Why?
What is pointers in c with example?
How does normalization of huge pointer works?
What is a node in c?
Why cant I open a file by its explicit path?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Write a program to show the change in position of a cursor using c
Are pointers integer?
Explain the use of function toupper() with and example code?
How do you search data in a data file using random access method?
Explain what is the difference between a free-standing and a hosted environment?
What does do in c?