Answer Posted / g.ravi teja
#include<stdio.h>
int main()
{
int a,b,c;
printf("enter the numbers");
scanf("%d,%d,%d",&a,&b,&c);
if(a>b&&a>c)
printf("a is greater");
if(b>a&&b>c)
printf("b is greater");
else
printf("c is greater");
}
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What are static variables in c?
Can you please explain the difference between malloc() and calloc() function?
write a program to create a sparse matrix using dynamic memory allocation.
What are structures and unions? State differencves between them.
Why is c called a structured programming language?
What are the differences between Structures and Arrays?
What do you mean by scope of a variable in c?
What is pointer to pointer in c with example?
What is pointer to pointer in c?
What is function definition in c?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Are there constructors in c?
Write a program to swap two numbers without using third variable in c?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Should I learn c before c++?