Questions 1 - 2 of 2
Close
Flag this interview question as inappropriate Inappropriate
See Answer
#include<stdlib.h>
#include<stdio.h>
int main()
{
int n = 1234;
char p[20];
itoa(n,s,10);
printf("n=%d,s=%s",n,s);
return 0;
}
itoa(n,s,10);

Notice that the itoa() function takes three arguments: the first argument is the number you want to convert to the string, the second is the destination string to put the converted number into, and the third is the base,
or radix, to be used when converting the number.
Create Date
:
Sunday, March 16, 2008
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
itoa() is used to convert integer to string.
Create Date
:
Saturday, March 15, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 


Check out our newest job listings!

Post a Job! $49 for 60 days



Suggestions & Comments




Share Your Interview Questions
Ask Interview Questions
View Unanswered Questions

















Advertise on this site