Total Answers and Comments: 4
Last Update: November 30, 2006
No best answer available. Please pick the good answer available or submit your answer.
July 03, 2006 06:27:54 #3
karna
RE: what does the following function print?func(in... hi,
when i =3, if(i%2) becomes if(1) so it will return 0
then when i=0 if(i%2) becomes if(0) so it will return 1;
so i=1 the answer is b.
Is this answer useful? Yes | No
November 29, 2006 12:34:18 #4
neelu
RE: what does the following function print?func(in... hi
if i=3 then if(i%2) i.e.,if(3%2) it returns o;
else
if i=0 then if(i%2) i.e.,if(0%2) it returns 1;
the answer is 1 i.e.,option (B).
Is this answer useful? Yes | No
Go To Top