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

in the question in 'func' function there is a word 'eale'.
what u mean by that? if it is 'else' then the ans is "1".

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between linking and loading?

1105


write a program fibonacci series and palindrome program in c

1040


Why we use int main and void main?

1078


Do you know the difference between exit() and _exit() function in c?

1062


What is the purpose of macro in C language?

1117


Why pointers are used in c?

1006


How many bytes are occupied by near, far and huge pointers (dos)?

1153


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1197


What is zero based addressing?

1171


Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

1156


Explain Function Pointer?

1167


What is c token?

1066


Can you return null in c?

1167


What are the advantages of using macro in c language?

1129


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

1168