Vidyalelo
Computer Science · Q479

Linux

Engineering and GATE · Computer Science · question 479

Q479

What is the output of this program? #include #include int main() int ret; ret = shutdown(0,0); printf("%d ",ret); return 0;

A.
0
B.
-1
Answer
C.
can not be determined
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board