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

Which type of language is c?

1119


What is p in text message?

1037


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1103


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

2121


Process by which one bit pattern in to another by bit wise operation is?

1225


Explain indirection?

1182


What is an example of structure?

1098


What is a class c rental property?

1144


write a program to concatenation the string using switch case?

2149


What is c system32 taskhostw exe?

1071


What is cohesion and coupling in c?

1095


Is it possible to pass an entire structure to functions?

1053


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

2108


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2623


in linking some of os executables are linking name some of them

2200