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...

Find greatest number out of 10 number without using loop.

Answer Posted / khurshid alam

#include<stdio.h>
int show();
int main()
{
printf("The bigger value is:%d",show());
}
int show()
{
static int big=0,a=0,c=0;
printf("enter number");
scanf("%d",&a);
if(a>big)
big=a;
if(c<=10)
{
c++;
show();
}
return big;
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1925


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1071


What is the difference between #include and #include 'file' ?

1067


What is the data segment that is followed by c?

1094


What is the sizeof () a pointer?

999


What is the use of getch ()?

1077


What is the difference between malloc() and calloc() function in c language?

1087


What is derived datatype in c?

1099


Explain a file operation in C with an example.

1123


number of times a digit is present in a number

2041


What is meant by recursion?

1057


how do you programme Carrier Sense Multiple Access

1969


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

2136


Can we assign string to char pointer?

1123


Write a program for finding factorial of a number.

1092