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

Why is extern used in c?

1063


How can I find out the size of a file, prior to reading it in?

1124


What is function prototype?

1077


What are the types of pointers in c?

985


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3654


Why is this loop always executing once?

1008


Write a program to find the biggest number of three numbers in c?

1022


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1197


What is the use of a semicolon (;) at the end of every program statement?

1430


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

1459


why do some people write if(0 == x) instead of if(x == 0)?

1025


Where in memory are my variables stored?

1134


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1034


What is the difference between procedural and declarative language?

1111


What does stand for?

1051