itoa()
function: atoi()
function converts an integer value into a string. The general format of the itoa() function is:
Syntax: char
* itoa(int , char[] , int);
Where,
- First argument is an integer value used for conversion.
- Second argument is a string used to store the conversion value.
- Third argument is an integer value that represents format of conversion such as decimal, octal and hexa-decimal format.
No comments:
Post a Comment