biggest of two no's with out using if condition statement
Answer Posted / abhilash.d
void main()
{
int a,b,big;
printf("enter the values of a,b");
scanf("%d%d",&a,&b);
big=a>b?a:b;
printf("biggest of two no is:%d",big);
}
| Is This Answer Correct ? | 19 Yes | 7 No |
Post New Answer View All Answers
List the variables are used for writing doubly linked list program.
Explain what are linked list?
What is pre-emptive data structure and explain it with example?
What tq means in chat?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is the difference between text and binary i/o?
What is default value of global variable in c?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What are the different types of objects used in c?
Are pointers integers in c?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
What is the condition that is applied with ?: Operator?
What Is The Difference Between Null And Void Pointer?