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
Explain goto?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
How can I open a file so that other programs can update it at the same time?
What is structure and union in c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
Explain what is page thrashing?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What is volatile variable in c with example?
What is scope rule in c?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
What is LINKED LIST? How can you access the last element in a linked list?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What are the basic data types associated with c?