Embedded System Question:

How is function itoa() written in C?

Tweet Share WhatsApp

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

Download Embedded System PDF 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?