HOW DO YOU HANDLE EXCEPTIONS IN C?
Answers were Sorted based on User's Feedback
Answer / reejusri
C don't use the term exception handling, but include
facilities that allow implementing similar functionality.
The most common way to implement exception handling in
standard C is to use setjmp/longjmp functions.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sathish kumar
Hi All,
U can handle exceptions in Unix. In Unix you have signal
handlers to handle the exceptional situations.
For Ex. u have signal SIGQUIT when you press "Ctrl+\" key
to terminate the program
Thanks & Regards
Sathish Kumar
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain what is wrong with this statement? Myname = ?robin?;
Is null a keyword in c?
How do I determine whether a character is numeric, alphabetic, and so on?
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
A woman had somany gloves and hats 22 red,34 blue, 45 white...there was power cut and she took a glove and how many gloves shud she take so that she gets a pair of glove fr each color??
What will the preprocessor do for a program?
write a program to insert an element at the specified position in the given array in c language
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
How to write c functions that modify head pointer of a linked list?
What is define c?
main() { int i; printf("%d",i^i); }
write a program in c language for the multiplication of two matrices using pointers?