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

what does the following function print?
func(int i)
{
if(i%2)return 0;
eale return 1;
}
main()
{
int =3;
i=func(i);
i=func(i);
printf("%d",i);}

Answer Posted / suresh reddy

Answer is 3

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which header file is used for clrscr?

1106


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15888


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

2007


Write a program on swapping (100, 50)

1166


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

1148


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2747


Is there a way to compare two structure variables?

1170


What is the difference between union and structure in c?

1277


Why we use int main and void main?

1117


Who invented b language?

1473


What are c header files?

1037


How will you delete a node in DLL?

1338


about c language

2074


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1204


How do you determine whether to use a stream function or a low-level function?

1191