Thanh Thảo
New member
What is the output of this program?
A. 0
B. -1
C. can not be determined
D. none of the mentioned
Code:
#include<stdio.h>
#include<sys/socket.h>
int main()
{
int ret;
ret = shutdown(0,0);
printf("%d\n",ret);
return 0;
}
B. -1
C. can not be determined
D. none of the mentioned