كيف استخدم دالة itoa
من مكتبة stdlib
بحثت كثير عنها وما قدرت افهم كيف استخدمها
#include <stdlib.h>
char *itoa(int value, char *string, int radix);
DESCRIPTION
The itoa() function constructs a string representation of an integer.
PARAMETERS
value
Is the integer to be converted to string representation.
string
Points to the buffer that is to hold resulting string. The resulting string may be as long as seventeen bytes.
radix
Is the base of the number; must be in the range 2 - 36.
الراديكس وش يعني بالضبط هل يعني ان احدد الحجم
واذا كنت ابي احفظ القيمة اللي ترجع من الدالة اقر اقول
X=itoa( value, string1, 6);
اذا فيه داله تحول من int to string
ياريت تدلوني عليها