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
What's the right way to use errno?
What is main return c?
What are the data types present in c?
List the difference between a "copy constructor" and a "assignment operator"?
Explain what is the difference between null and nul?
What is d scanf?
write a program to generate address labels using structures?
What does the c in ctime mean?
What does 3 mean in texting?
Why main is not a keyword in c?
Explain how do you convert strings to numbers in c?
Explain how do you use a pointer to a function?
Explain how to reverse singly link list.
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What is the general form of #line preprocessor?