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 keyword in c?
Explain what are header files and explain what are its uses in c programming?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
what is the basis for selection of arrays or pointers as data structure in a program
What is structure in c language?
What is the purpose of the preprocessor directive error?
Differentiate Source Codes from Object Codes
What is array of structure in c programming?
What is #error and use of it?
What is #ifdef ? What is its application?
What are the 4 types of organizational structures?
When do we get logical errors?
How can I find out the size of a file, prior to reading it in?
can anyone please tell about the nested interrupts?
Can the size of an array be declared at runtime?