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 1d array in c?
What is string length in c?
what is the difference between while and do while?
What is the difference between exit() and _exit() function?
What functions are used in dynamic memory allocation in c?
Which of the following data structures is on average the fastest for retrieving data: 1) Binary Tree 2) Hash Table 3) Stack
Which header file is used for clrscr?
What is the difference between array and pointer?
What is wrong in this statement? scanf(“%d”,whatnumber);
Write a program for Overriding.
int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?
difference between loading and linking