When I compiled the code below, the compiler showed an undefined reference to itoa() function. But, when I searched; I found that itoa() is standard. Why is it so?
#include <stdio.h>
#include<stdlib.h>
int main()
{
int i;
char buffer [33];
printf ("Enter a number: ");
scanf ("%d",&i);
itoa (i,buffer,10);
printf ("decimal: %s\n",buffer);
return 0;
}