Sir,please help me out with the output of this programme:-
#include<stdio.h>
#include<conio.h>
void main()
{
int a=18,b=12,i;
for(i=a<b?a:b;a%i||b%i;i--);
printf("%d %d",i);
}
Answer Posted / biren
the answer is 6
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Explain the properties of union.
What are the 4 types of functions?
Explain how can I write functions that take a variable number of arguments?
Explain how can I convert a number to a string?
How can you invoke another program from within a C program?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
Why is python slower than c?
Where are local variables stored in c?
What does void main () mean?
Is c a great language, or what?
What is page thrashing?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
How can I direct output to the printer?
What is #include conio h?
Write a program to print “hello world” without using semicolon?