Discussion
Which of the given statement is true with respect to the function atexit()?
Answer: B
Correct answer: The atexit() function is used to return zero if the registration succeeds, nonzero if it fails
atexit() registers a function to be called when the program terminates normally, and returns zero on success. Registered functions run in the reverse order of registration, and at least 32 must be allowed. They are not called if the program ends through abort().
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development