HOW DO YOU HANDLE EXCEPTIONS IN C?

Answers were Sorted based on User's Feedback



HOW DO YOU HANDLE EXCEPTIONS IN C? ..

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

HOW DO YOU HANDLE EXCEPTIONS IN C? ..

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

Post New Answer

More C Interview Questions

What does c in a circle mean?

0 Answers  


What is Lazy evaluation in C? Give an example.

1 Answers  


a C prog to swap 2 no.s without using variables just an array?

5 Answers   TCS,


Explain what are the standard predefined macros?

0 Answers  


how would a 4*3 array A[4][3] stored in Row Major Order?

0 Answers   HCL, Ignou,






Is sizeof a keyword in c?

0 Answers  


what is data structure.in linear and non linear data structures which one is better?Explain

3 Answers   Wipro,


Explain what is the difference between text files and binary files?

0 Answers  


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.

3 Answers  


write a c prog for removing duplicate character from an array and sorting remaining elements using a single array

1 Answers  


What is 02d in c?

0 Answers  


what is dangling pointer?

1 Answers   LG Soft,


Categories