Converts a long integer to a string.
char * ltoa (long v, char * buffer, int radix);
Required Header |
<stdlib.h> |
Return Value
This function returns the string representation of a long integer.
Parameters
v
The value to be converted to a string
buffer
The string result
radix
The base of the converted number
Remarks
The ltoa function converts v to a string, where the conversion allows a radix of between 2 and 36 to form any desired number type.