Browsing All Posts published on »February, 2008«

PutLong Version 3

February 10, 2008

0

Problem statement summary: this is a popular interview question in which you implement a void putlong(long n) function to write the long integer n to the console. To make the problem more challenging, interviewers often impose the following restrictions: Only use putchar() and no other functions (ltoa, sprintf, …) Do not create a buffer to […]

Follow

Get every new post delivered to your Inbox.

Join 34 other followers