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

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

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a pointer be volatile in c?

930


What is pragma in c?

1126


What is volatile variable in c with example?

995


Is c a great language, or what?

1049


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3258


Explain what is the difference between far and near ?

1047


What is %lu in c?

1176


What is the newline escape sequence?

1019


Why is void main used?

1030


What is function in c with example?

1086


What is gets() function?

1072


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

989


What are different storage class specifiers in c?

1040


What is the maximum no. of arguments that can be given in a command line in C.?

1084


Can we declare variables anywhere in c?

947