Select the correct option to test your answer:
Computer Science Engineering
Linux
Difficulty: Medium
What is the output of this program? #include<stdio.h> #include<stdlib.h> #include<fcntl.h> int main() { int fd, new_fd; char *buff; buff = (char *)malloc(sizeof(char)*8); fd = open("test.c",O_RDONLY); new_fd = dup(fd); close(fd); read(new_fd,buff,8); printf("%s\n",buff); }
More Computer Science Engineering Questions
What is an auto-associative network?
. . . . . . . . has many of the characteristics of what is now being called cloud computing.
The number of structures than can be declared in a single statement is
The addressing mode which makes use of in-direction pointers is . . . . . . . .
The first webpage added to an application is the . . . . . . . . page.