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 identifiers in c with examples?

1240


Define circular linked list.

1082


what is a function method?give example?

2414


How many loops are there in c?

1163


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1128


Is there a way to compare two structure variables?

1169


What are the properties of union in c?

1109


How will you divide two numbers in a MACRO?

1185


Describe the difference between = and == symbols in c programming?

1449


Why does everyone say not to use gets?

1198


What is bin sh c?

1095


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1102


write an algorithm to display a square matrix.

2758


difference between native and cross compilers

2171


What is the use of getch ()?

1118