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 / suresh reddy

Answer is 3

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

2103


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

1210


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1087


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

1099


Explain can static variables be declared in a header file?

1152


difference between native and cross compilers

2125


What is the advantage of a random access file?

1201


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

1002


What do header files do?

1076


what is the syallabus of computer science students in group- 1?

2319


What is a char c?

1043


What is the size of empty structure in c?

1081


What are the different types of control structures in programming?

1131


Is c++ based on c?

1070


What is && in c programming?

1166