biggest of two no's with out using if condition statement

Answer Posted / shafi.shaik

main()
{
int a,b;
a=10;
b=20;
clrscr();
if(a/b)
printf("A is Biggest");
if(b/a)
printf("B is Biggest");
getch();
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is variable declaration and definition in c?

493


Explain the difference between call by value and call by reference in c language?

637


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

650


What is use of pointer?

581


What is the use of parallelize in spark?

569






what is the difference between class and unio?

1854


Explain what are header files and explain what are its uses in c programming?

621


What is the maximum no. of arguments that can be given in a command line in C.?

658


What is the stack in c?

709


Who invented bcpl language?

698


Explain the use of keyword 'register' with respect to variables.

585


Explain how can I avoid the abort, retry, fail messages?

582


Can you please explain the difference between syntax vs logical error?

683


When should you not use a type cast?

651


How would you obtain the current time and difference between two times?

719