Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / kristian vitozev
#include <stdio.h>
int main(void)
{
int a = 7, b = 25;
a>b ? printf("%d [a]",a) : printf("%d [b]", b);
return 0;
}
Is This Answer Correct ? | 9 Yes | 8 No |
Post New Answer View All Answers
Why is c still so popular?
Explain spaghetti programming?
Why is event driven programming or procedural programming, better within specific scenario?
What does stand for?
What's the total generic pointer type?
program to convert a integer to string in c language'
Tell us bitwise shift operators?
Write a program to swap two numbers without using a temporary variable?
What are the features of c language?
What is masking?
What is the argument of a function in c?
How do you sort filenames in a directory?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
Dont ansi function prototypes render lint obsolete?