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 is 1d array in c?

0 Answers  


What is string length in c?

0 Answers  


what is the difference between while and do while?

2 Answers  


What is the difference between exit() and _exit() function?

0 Answers  


What functions are used in dynamic memory allocation in c?

0 Answers  






Which of the following data structures is on average the fastest for retrieving data: 1) Binary Tree 2) Hash Table 3) Stack

3 Answers  


Which header file is used for clrscr?

0 Answers  


What is the difference between array and pointer?

0 Answers  


What is wrong in this statement? scanf(“%d”,whatnumber);

0 Answers  


Write a program for Overriding.

0 Answers  


int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?

6 Answers   Verifone,


difference between loading and linking

1 Answers  


Categories