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 does c in a circle mean?
What is Lazy evaluation in C? Give an example.
a C prog to swap 2 no.s without using variables just an array?
Explain what are the standard predefined macros?
how would a 4*3 array A[4][3] stored in Row Major Order?
Is sizeof a keyword in c?
what is data structure.in linear and non linear data structures which one is better?Explain
Explain what is the difference between text files and binary files?
program to find which character is occured more times in a string and how many times it has occured? for example in the sentence "i love india" the output should be i & 3.
write a c prog for removing duplicate character from an array and sorting remaining elements using a single array
What is 02d in c?
what is dangling pointer?