i came to know about this concept from a random program from a random blog: Disemble
i am sending the program as attachment.
Code:This program will not print "hello-out". Find out the problem.
#include <stdio.h>
#include <unistd.h>
int main()
{
while(1)
{
fprintf(stdout,"hello-out");
fprintf(stderr,"hello-err");
sleep(1);
}
return 0;
}