func (int i)
{
if (i%2) return 0;
else return 1;
}
int main ()
int i =3;
i= func (i);
printf ("%d";i);
The answer is 1 because 3 is not divisible by 2.
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment