I would like to understand why when I execute this code
#include <stdio.h>
#include <unistd.h>
int main()
{
write(1, "6", 1);
printf(" | ");
write(1, "6", 1);
}
I get this output
66 | %
Instead of
6 | 6%
even with sleep before and after the printf it doesn't fix it. Thanks