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

What is the difference between single charater constant and string constant?

1095


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.

2096


Explain the difference between call by value and call by reference in c language?

1115


What are extern variables in c?

995


What is a loop?

1059


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1282


What is FIFO?

1728


Explain the term printf() and scanf() used in c language?

1051


How do you determine the length of a string value that was stored in a variable?

1125


What is a lookup table in c?

1124


What functions are used in dynamic memory allocation in c?

1085


What is c basic?

1178


How do I create a directory? How do I remove a directory (and its contents)?

1173


What is new line escape sequence?

1357


How can I convert a number to a string?

1196