Embedded System Question:

How is function itoa() written in C?

Embedded System Interview Question
Embedded System Interview Question

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


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?