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

if eale is else
and
int = 3 is int i = 3

then,

the answer is 1...

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of bit field?

1179


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1724


How can I remove the trailing spaces from a string?

1072


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2879


Write a program to find the biggest number of three numbers in c?

1045


Explain how do you print an address?

1146


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

1287


What is the use of c language in real life?

1025


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1413


Explain what is #line used for?

1067


What are shell structures used for?

1052


Explain that why C is procedural?

1143


difference between Low, Middle, High Level languages in c ?

2081


what is uses of .net

1737


Why are all header files not declared in every c program?

1103