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 is the difference between single charater constant and string constant?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
Explain the difference between call by value and call by reference in c language?
What are extern variables in c?
What is a loop?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
What is FIFO?
Explain the term printf() and scanf() used in c language?
How do you determine the length of a string value that was stored in a variable?
What is a lookup table in c?
What functions are used in dynamic memory allocation in c?
What is c basic?
How do I create a directory? How do I remove a directory (and its contents)?
What is new line escape sequence?
How can I convert a number to a string?