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 |
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
What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }
What is property type c?
What is the collection of communication lines and routers called?
What are the salient features of c languages?
Is sizeof a keyword in c?
void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?
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
write an interactive program to generate the divisors of a given integer.
Why ordinary variable store only one value
write a function to find whether a string is palindrome or not and how many palindrome this string contain?
What are the application of c?