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 / ravinderreddy

answer will be 0 not 1

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I make it pause before closing the program output window?

1044


Is c is a middle level language?

1069


What is difference between union and structure in c?

1167


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

5463


What is the use of #include in c?

1087


I need previous papers of CSC.......plz help out by posting them.......

2298


What is the benefit of using an enum rather than a #define constant?

1242


Can you write the function prototype, definition and mention the other requirements.

1138


How many types of errors are there in c language? Explain

990


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1146


Explain how do you sort filenames in a directory?

1043


What is the significance of c program algorithms?

1147


How can I change their mode to binary?

1121


What header files do I need in order to define the standard library functions I use?

1061


provide an example of the Group by clause, when would you use this clause

2199