Find greatest number out of 10 number without using loop.
Answer Posted / joshi
/* for same qustion this */
void main()
{
int a,b;
clrscr();
printf (enter the two number :);
scanf("%d%d",a,b);
if (a>b)
printf ("%d\n greater number",a);
else
printf ("%d\n greter number",b);
getch();
}
| Is This Answer Correct ? | 11 Yes | 48 No |
Post New Answer View All Answers
What are the salient features of c languages?
What is double pointer?
What are shell structures used for?
What does typedef struct mean?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
How do you write a program which produces its own source code as output?
Explain the difference between null pointer and void pointer.
What does char * * argv mean in c?
What is getch?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
What is null pointer constant?
How can I open files mentioned on the command line, and parse option flags?
How do you define a function?
What is the difference between single charater constant and string constant?