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 |
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
Explain the difference between call by value and call by reference in c language?
what are the languages used in c#?
write a recursive program in'c'to find whether a given five digit number is a palindrome or not
What is a pointer value and address in c?
What is the difference between c &c++?
Explain what does the format %10.2 mean when included in a printf statement?
Explain what are binary trees?
How can I read a binary data file properly?
Simplify the program segment if X = B then C ← true else C ← false
what type of errors are checked during compilation
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.