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 the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;
When is a null pointer used?
What is #include conio h?
Tell me with an example the self-referential structure?
What are bit fields? What is their use?
What is extern c used for?
Explain the difference between exit() and _exit() function?
what is the height of tree if leaf node is at level 3. please explain
Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?
Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.
how can you print&scan anything using just one character? :) HINT: printf,scanf similer
Find greatest of two numbers using macro