The errno variable in C programming is used for which purpose?

The errno variable in C programming is used for which purpose?
A . Handling exceptions
B . Managing file permissions
C . Controlling file access
D . Storing the result of the last system call that raised an error

Answer: D

Explanation:

The errno variable in C programming is used to store the result of the last system call that raised an error.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments