Vidyalelo
Computer Science · Q722

Linux

Engineering and GATE · Computer Science · question 722

Q722

What is the output of this program? #include int main() int fd_socket; fd_socket = socket(AF_UNIX,SOCK_STREAM,0); printf("%d ",fd_socket); return 0;

A.
-1
B.
0
C.
any integer value
D.
none of the mentioned
Answer

Answer: Option D

Solution

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