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 |
What is external variable in c?
Why do we use return in c?
can we declare a variable in different scopes with different data types? answer in detail
What are c preprocessors?
what does ‘segmentation violation’ mean?
what are bit fields? What is the use of bit fields in a structure declaration?
0 Answers Flextronics, TISL, Virtusa,
write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};
What is static and auto variables in c?
What is meant by int fun const(int a, int b) { .... ... }
Who invented b language?
Is c object oriented?
How can I implement a delay, or time a users response, with sub-second resolution?