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

1 only

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1267


What are the rules for the identifier?

1148


Explain what is a program flowchart and explain how does it help in writing a program?

1086


show how link list can be used to repersent the following polynomial i) 5x+2

2274


What are the 5 elements of structure?

1070


Which built-in library function can be used to match a patter from the string?

1288


What is 1d array in c?

1068


What is define c?

1052


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

1100


Why do we write return 0 in c?

1040


How does normalization of huge pointer works?

1154


What is keyword with example?

1048


What is operator promotion?

1047


What is malloc calloc and realloc in c?

1297


How can you increase the size of a dynamically allocated array?

1168