void main() { int n = 1; if(fork()==0) { n = n<<1; printf(“%d, “, n); n = n <<1; } if(fork()==0) n=n+700; printf(“%d, “,n); }
Which of the following output is not possible?
As all five values are possible .
Due to context switch every option is Possible.
So i think none is wrong.
I think all combinations should be possible so none is wrong.
64.3k questions
77.9k answers
244k comments
80.0k users