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
how to create duplicate link list using C???
Why isnt there a numbered, multi-level break statement to break out
Are pointers integer?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
How can I delete a file?
Where in memory are my variables stored?
Difference between MAC vs. IP Addressing
Write programs for String Reversal & Palindrome check
What is operator precedence?
What is scanf () in c?
What is a pointer value and address in c?
Why is c platform dependent?
What is c token?
What Is The Difference Between Null And Void Pointer?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.