HOW DO YOU HANDLE EXCEPTIONS IN C?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you delete a node in DLL?

677


What is the use of header?

616


How can you avoid including a header more than once?

563


What does printf does?

740


What is the use of function overloading in C?

675






Write a c program to demonstrate character and string constants?

1678


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

1778


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

694


Why is c faster?

589


Explain 'far' and 'near' pointers in c.

702


What are the c keywords?

747


Explain how can you be sure that a program follows the ansi c standard?

856


What is meant by realloc()?

670


How can you increase the size of a dynamically allocated array?

639


What are structures and unions? State differencves between them.

614