c Programming/POSIX Reference/stdlib.h/ltoa

< C Programming < POSIX Reference < stdlib.h

The ltoa function in the C programming language is used to convert an integer into a string.

char *ltoa(long integer, char *string, int radix)

Where integer is the long integer in which a number resides, string is the string, represented by an array of characters and radix is the base number in which the number will be represented.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.