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, count; char ch, *buff; buff = (char *)malloc(sizeof(char)*10); fd = open("demo.c",O_RDONLY); count = read(fd,buff,5); printf("%d\n",count); return 0; }
More Computer Science Engineering Questions
. . . . . . . . is used to open the sequential file access for append.
The multiplier is stored in . . . . . . . .
Which option is used with the chmod command recursively to all files and sub-directories in a directory?
To conserve battery power on your laptop computer. What DOS v6.x command should you use?
What command is used to list the jobs currently in print queues?