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 / fazlur rahaman naik & praneeth

the answer will b 1.

Is This Answer Correct ?    26 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are header files in c programming?

1132


Write a program to know whether the input number is an armstrong number.

1120


explain what is fifo?

1072


What is calloc() function?

1093


What is #include stdio h and #include conio h?

1105


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1087


What is scope of variable in c?

1046


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


What is the difference between %d and %i?

1097


how to execute a program using if else condition and the output should enter number and the number is odd only...

2299


how to find anagram without using string functions using only loops in c programming

3192


Can you apply link and association interchangeably?

1125


Explain what is wrong in this statement?

1123


What is the difference between fread buffer() and fwrite buffer()?

1176


Hai what is the different types of versions and their differences

1942