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 how can I pad a string to a known length?
What is merge sort in c?
Q. where is the below variables stored ? - volatile, static, register
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
Linked lists -- can you tell me how to check whether a linked list is circular?
what is difference between #include<stdio.h> and #include"stdio.h"
What is the difference between new and malloc functions?
Can you please compare array with pointer?
What is a macro, and explain how do you use it?
how to print this pyramid * * * * * * * * * * * * *
Program to find largest of three numbers without using comparsion operator?