Select the correct option to test your answer:
More Computer Science Engineering Questions
What is the output of this program? #include<stdio.h> #include<sys/types.h> #include<netinet/in.h> #include<sys/socket.h> #include<errno.h> int main() { struct sockaddr_in addr; int fd; fd = socket(AF_UNIX,SOCK_STREAM,0); if (fd == -1) perror("socket"); addr.sun_family = AF_UNIX; strcpy(addr.sun_path,"demo_sock"); if (bind(4,(struct sockaddr*)&addr,sizeof(addr)) == -1) printf("Example\n"); return 0; }
The octal equivalent of decimal 324.987 is
In Kotlin, code statements do not have to end with a . . . . . . . .
What is the output of this program? #include<stdio.h> #include<sys/time.h> #include<sys/resource.h> int main() { struct rlimit limit; limit.rlim_cur = 10; if(setrlimit(RLIMIT_NOFILE,&limit) != 0) perror("setrlimit"); return 0; }
Which one of the following command will be used for adding two spaces before every line in emp.lst?