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 is the different bitween abap and abap-hr?
int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?
How is pointer initialized in c?
Is main() function predfined or userdefined?
Is fortran faster than c?
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
Why c is a procedural language?
Differentiate between declaring a variable and defining a variable?
what do you mean by inline function in C?
#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }
what is the different between data structure and data type?