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

What is chain pointer in c?

1047


Is main a keyword in c?

1118


Is c still used?

1032


Why & is used in c?

1159


What is auto keyword in c?

1191


How old is c programming language?

996


What does c in a circle mean?

1057


What is difference between array and structure in c?

1158


What is function pointer c?

1091


Why isnt any of this standardized in c?

1058


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

2219


Is c procedural or functional?

1005


What is the Purpose of 'extern' keyword in a function declaration?

1064


What are the c keywords?

1186


How do I get an accurate error status return from system on ms-dos?

1104