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

explain what are actual arguments?

1097


Can 'this' pointer by used in the constructor?

1100


What is a program flowchart and how does it help in writing a program?

1148


When the macros gets expanded?

1434


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1866


Is there sort function in c?

1027


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1954


What is the difference between printf and scanf )?

1105


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

2106


What does c value mean?

1205


What is a void * in c?

1081


What is hashing in c language?

1322


What is C language ?

1973


What are header files and what are its uses in C programming?

1248


What does void main () mean?

1249