Linux MCQ Number 01153

Linux MCQ Set 1 1. What is the output of this program? #include<stdio.h>  int main() { int fd_socket; fd_socket = socket(AF_UNIX,SOCK_STREAM,0); printf(”%dn”,fd_socket); return 0; } a) -1 b) 0 c) any integer value d) none of the mentioned AnswerAnswer: d [Reason:] To use socket(), the header files sys/types.h and sys/socket.h are required. Output: [ aidlo]#…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership