What system call is used to read data from a file in C programming?

What system call is used to read data from a file in C programming?
A . lseek()
B . read()
C . dprintf()
D . stat()

Answer: B

Explanation:

The read() system call is used to read data from a file in C programming.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments