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

Answer Posted / ramanjaneyareddy

#include<stdio.h>
main()
{int a,b,c;
scanf("%d%d",&a,&b);
c=(a>b)?a:b;
printf("%d",c);
return(0);
}

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are pointers integers in c?

805


In which language linux is written?

918


What does struct node * mean?

796


What is array of pointers to string?

788


Explain the Difference between the New and Malloc keyword.

876


write a program to copy the string using switch case?

2608


Which is better oop or procedural?

809


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

787


Which is the memory area not included in C program? give the reason

1712


What language is lisp written in?

844


Why c is called procedure oriented language?

794


Explain about the constants which help in debugging?

1075


What does the c preprocessor do?

844


What is the main difference between calloc () and malloc ()?

832


Can you think of a logic behind the game minesweeper.

2215