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 are high level languages like C and FORTRAN also known as?

691


What is null pointer in c?

600


How can I remove the trailing spaces from a string?

620


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

1807


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

671






What is the difference between if else and switchstatement

1320


What is a node in c?

554


How can I change the size of the dynamically allocated array?

636


What are the advantages of c language?

668


develop algorithms to add polynomials (i) in one variable

1747


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

4910


How can I make it pause before closing the program output window?

585


Explain logical errors? Compare with syntax errors.

633


What is NULL pointer?

680


Why is c called c?

638