Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / vignesh1988i
#include<stdio.h>
#include<conio.h>
void main()
{
int a=90 , b=-89;
(a>b)?printf("a is larger") : printf(" b is larger ");
getch();
}
thank u
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
What is the difference between Printf(..) and sprint(...) ?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Explain what is meant by high-order and low-order bytes?
What is a c token and types of c tokens?
Array is an lvalue or not?
What is a built-in function in C?
What are type modifiers in c?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What are pointers in C? Give an example where to illustrate their significance.
What is the g value paradox?
Can you define which header file to include at compile time?
What is the purpose of the preprocessor directive error?
regarding pointers concept
Is it better to use a macro or a function?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above