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 Basic concepts of C language?
how to multiply two number taking input as a string (considering sum and carry )
What is the difference between a free-standing and a hosted environment?
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }
What does return 1 means in c?
who is the founder of c
19 Answers College School Exams Tests, HP,
What are shell structures used for?
Is c a great language, or what?
What does 3 mean in texting?
How can I access an I o board directly?
how to write a prog in c to convert decimal number into binary by using recursen function,
What is diffrance between declaration and defination of a variable or function