In this program the fifo "my_fifo"
#include<stdio.h>
int main()
{
if (mkfifo("my_fifo",0666) != 0)
perror("mkfifo");
return 0;
}
#include<stdio.h>
int main()
{
if (mkfifo("my_fifo",0666) != 0)
perror("mkfifo");
return 0;
}A. can not be created
B. will be created in present working directory
C. will have the execute permissions
D. none of the mentioned
Answer: Option B

Join The Discussion