Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain the properties of union.

1022


What are the 4 types of functions?

1000


Explain how can I write functions that take a variable number of arguments?

1032


Explain how can I convert a number to a string?

1103


How can you invoke another program from within a C program?

1026


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.

15931


Why is python slower than c?

1030


Where are local variables stored in c?

985


What does void main () mean?

1181


Is c a great language, or what?

1052


What is page thrashing?

1029


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2815


How can I direct output to the printer?

1277


What is #include conio h?

947


Write a program to print “hello world” without using semicolon?

1080