Print the number 0 using write() code example
Example: Print the number 0 using write()
#include <stdio.h>
int main(void) {
int n = 123;
putchar((n % 10) + '0');
n /= 10;
putchar((n % 10) + '0');
n /= 10;
putchar((n % 10) + '0');
return 0;
}