Embedded System Question:

How is function itoa() written in C?

Answer:

#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;
}

Read All 21 Embedded System Questions
Previous QuestionNext Question
Explain What is forward reference w.r.t. pointers in c?Explain What is the difference between embedded systems and the system in which RTOS is running?