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 / fazlur rahaman naik & praneeth

the answer will b 1.

Is This Answer Correct ?    26 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What Is The Difference Between Null And Void Pointer?

1155


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

2233


In which header file is the null macro defined?

1301


What are directives in c?

925


Does * p ++ increment p or what it points to?

1054


Is main an identifier in c?

1086


Explain void pointer?

970


How can I read data from data files with particular formats?

1002


Which one would you prefer - a macro or a function?

1033


simple program of graphics and their output display

1937


What's the best way of making my program efficient?

1038


Why main function is special give two reasons?

1483


how to find anagram without using string functions using only loops in c programming

3134


What does double pointer mean in c?

1075


What are the different types of control structures?

985