What is the output of this program?
#include int main() { fork(); printf("linux\n"); return 0; }a) the string “linux” will print 1 timeb) the string “linux” will print 2 timesc) the string “linux” will print 3 timesd) none of the mentioned
int main()
{
fork();
printf("linux\n");
return 0;
}
a) the string “linux” will print 1 time
b) the string “linux” will print 2 times
c) the string “linux” will print 3 times
d) none of the mentioned
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here