print the number 0 using write 28 29

Solutions on MaxInterview for print the number 0 using write 28 29 by the best coders in the world

showing results for - "print the number 0 using write 28 29"
Edgar
24 Feb 2016
1#include <stdio.h>
2
3int main(void) {
4    int n = 123;
5
6    putchar((n % 10) + '0');
7    n /= 10;
8    putchar((n % 10) + '0');
9    n /= 10;
10    putchar((n % 10) + '0');
11
12    return 0;
13}
similar questions
queries leading to this page
print the number 0 using write 28 29