smithkm
1
Q:

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

New to Communities?

Join the community