Machine-translated by Google. Questions are authored in English.
Top

Discussion

The itoa function can convert an integer in decimal, octal or hexadecimal form to a string.

  • A.Yes
  • B.No

Answer: A

Correct answer: Yes

itoa(value, buffer, base) takes a base as its third argument, so it will produce the decimal, octal, hexadecimal or binary representation. It is not a standard C function - it belongs to the Turbo C and Microsoft libraries - and sprintf is the portable substitute.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.