Software Development Interview Questions

37,008 software development interview questions shared by candidates

Write a function that converts an int into its alpha-numeric equivalent represented as a null terminated string. The function should accept an int as input and return a string as output. For instance, calling the function with an int value of 324 would return a null terminated string containing "324". Ensure that your function checks for appropriate boundary conditions and edge cases. Assume you cannot use any standard libraries (for example, no itoa or sprintf).
avatar

Software Development Engineer

Interviewed at Amazon

3.5
Feb 18, 2014

Write a function that converts an int into its alpha-numeric equivalent represented as a null terminated string. The function should accept an int as input and return a string as output. For instance, calling the function with an int value of 324 would return a null terminated string containing "324". Ensure that your function checks for appropriate boundary conditions and edge cases. Assume you cannot use any standard libraries (for example, no itoa or sprintf).

Viewing 1791 - 1800 interview questions

Glassdoor has 37,008 interview questions and reports from Software development interviews. Prepare for your interview. Get hired. Love your job.