Multiple choice technology programming languages

What is the outcome of the line of code "cout<

  1. 16

  2. 17

  3. 16.5

  4. Error

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In C++, abs() from cstdlib works with integers. When passed -16.5, it first converts to -16 (truncating toward zero), then returns 16.