N
Nayak Abinash XN (AS/EAB)
how to use itoa() with example
perform well abinashhow to use itoa() with example
how to use itoa() with example
how to use itoa() with example
#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);
itoa (i,buffer,16);
printf ("hexadecimal: %s\n",buffer);
itoa (i,buffer,2);
printf ("binary: %s\n",buffer);
return 0;
}
Nayak said:how to use itoa() with example
how to use itoa() with example
Nayak Abinash XN (AS/EAB) said:how to use itoa() with example
Ramasubramanian XR (AS/EAB) said:#include <crtdll/errno.h>
#include <crtdll/stdlib.h>
#include <crtdll/internal/file.h>
char *
itoa(int value, char *string, int radix)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.