what will be the output for the following c code:

main()
{
printf("abc");
fork();
sleep(10);
printf("def");
fork();
printf("xxx");
}

please provide the explanation for the same....