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
What is the use of header?
Explain what is the advantage of a random access file?
What are the advantages and disadvantages of a heap?
Can we change the value of static variable in c?
in iso what are the common technological language?
How can variables be characterized?
how do you execute a c program in unix.
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
Explain what does a function declared as pascal do differently?
What are external variables in c?
What are the main characteristics of c language describe the structure of ac program?
How can I call a function with an argument list built up at run time?
How can you restore a redirected standard stream?
Why main function is special give two reasons?
What is the significance of an algorithm to C programming?