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

The code returns error as i is undeclared see in main
int =3 and
instead of
else eale is used.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are runtime error?

1177


What are header files and explain what are its uses in c programming?

1172


What does static variable mean in c?

1142


show how link list can be used to repersent the following polynomial i) 5x+2

2396


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1127


What are dangling pointers? How are dangling pointers different from memory leaks?

1390


What are register variables? What are the advantage of using register variables?

1231


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2227


Explain what is the difference between functions getch() and getche()?

1112


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

1174


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

1453


Difference between exit() and _exit() function?

1177


What is the use of clrscr?

1156


What is printf () in c?

1144


What is the heap in c?

1123