Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Linux OS Interviews:Awk ProgrammingBash Arithmetic ExpressionsDevice DriversGCC CompilerLinux AdministratorLinux CommandsLinux DebuggingLinux EnvironmentLinux GeneralLinux IPCLinux MakefileLinux OSLinux OS EditorsLinux OS ManagementLinux OS ShellLinux Proc FilesystemLinux Search PatternLinux Shared & Static LibrariesLinux Socket ProgrammingLinux Startup and ShutdownLinux SysfsLinux SystemsLinux ThreadsLinux UbuntuSignal HandlingSystem Calls
Copyright © 2018. All Rights Reserved
Linux Debugging Interview Question:
In this program, the third argument of the socket() is used for _____ potocol.
#include<stdio.h>
#include<sys/types.h>
#include<sys/socket.h>
int main()
{
int fd_socket;
if(socket(AF_UNIX,SOCK_STREAM,0) == -1)
perror("socket");
return 0;
}
a) TCP/IP
b) UDP
c) both (a) and (b)
d) none of mentioned
Submitted by: Murtazaa) TCP/IP
Submitted by: Murtaza
Submitted by: Murtaza
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.