[ create a new paste ] login | about

Link: http://codepad.org/3GtAM7pN    [ raw code | output | fork ]

C, pasted on Jun 5:
1
2
3
4
5
6
7
8
9
int non_smaller_int_divisible_by_16(int x)
{
  return x + ((16 - (x % 16)) % 16);
}

int main()
{
  return non_smaller_int_divisible_by_16(17);
}


Output:
1
Exited: ExitFailure 32


Create a new paste based on this one


Comments: