HOW DO YOU HANDLE EXCEPTIONS IN C?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between near, far and huge pointers?

628


What are the difference between a free-standing and a hosted environment?

740


praagnovation

1774


What is a void pointer in c?

604


What are qualifiers?

615






In C language what is a 'dangling pointer'?

632


Is malloc memset faster than calloc?

613


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2449


What is NULL pointer?

671


What are c header files?

573


Where static variables are stored in memory in c?

521


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

645


What is string function c?

561


What's a good way to check for "close enough" floating-point equality?

621


Write a program of prime number using recursion.

613