What is the difference between exit() and _exit()?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• exit(): Cleans up resources (e.g., flushes buffers).
• _exit(): Terminates the program immediately without cleanup.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• exit(): Cleans up resources (e.g., flushes buffers).
• _exit(): Terminates the program immediately without cleanup
| Is This Answer Correct ? | 0 Yes | 0 No |
What are # preprocessor operator in c?
Define VARIABLE?
What is the condition that is applied with ?: Operator?
Program to find larger of the two numbers without using if-else,while,for,switch
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
5 Answers TCS, Vimukti Technologies,
How do you override a defined macro?
In C language, a variable name cannot contain?
What is a void pointer? When is a void pointer used?
25. It takes five minutes to pass a rumour from one person to two other persons. The tree of rumour continues. Find how many minutes does it take spread the rumour to 768 persons. ?
11 Answers CTS, TCS,
Write a program to generate the first n terms in the series --- 2,3,5,7,11,...,17
How to declare a variable?
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }