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

Write programs for String Reversal & Palindrome check

1136


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

6019


What is meant by recursion?

1100


will u please send me the placement papers to my mail???????????????????

1883


What is difference between constant pointer and constant variable?

1399


Explain 'far' and 'near' pointers in c.

1186


What are the similarities between c and c++?

1140


What are the application of c?

1159


What are global variables and explain how do you declare them?

1180


Write a program to print ASCII code for a given digit.

1127


can any one provide me the notes of data structure for ignou cs-62 paper

2230


Create a simple code fragment that will swap the values of two variables num1 and num2.

1326


What is dynamic dispatch in c++?

1108


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

1090


What is null pointer in c?

1044