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

hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a

1 Answers  


What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }

1 Answers  


What is property type c?

0 Answers  


What is the collection of communication lines and routers called?

0 Answers  


What are the salient features of c languages?

0 Answers  


Is sizeof a keyword in c?

0 Answers  


void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?

8 Answers   Wipro,


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

0 Answers  


write an interactive program to generate the divisors of a given integer.

7 Answers   TCS,


Why ordinary variable store only one value  

0 Answers  


write a function to find whether a string is palindrome or not and how many palindrome this string contain?

2 Answers   Aptech,


What are the application of c?

0 Answers  


Categories