Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / vara
#include<stdio.h>
void main()
{
int a=4,b=5;
a>b?printf("a is greater than big"):b is pig
}
| Is This Answer Correct ? | 10 Yes | 25 No |
Post New Answer View All Answers
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
What is the general form of a C program?
What is the difference between text and binary i/o?
List a few unconditional control statement in c.
What the advantages of using Unions?
How many types of errors are there in c language? Explain
Difference between MAC vs. IP Addressing
What is the value of c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Is c easier than java?
Why we use break in c?
Write a Program to accept different goods with the number, price and date of purchase and display them
Explain the concept and use of type void.
What is the correct code to have following output in c using nested for loop?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????