Answers

Question and Answer:

  Home  Embedded System

⟩ How is function itoa() written in C?

#include<stdlib.h>

#include<stdio.h>

int main()

{

int n = 6789;

char p[20];

itoa(n,s,10);

printf("n=%d,s=%s",n,s);

return 0;

}

 185 views

More Questions for you: