C - Error Handling

preview_player
Показать описание
C - Error Handling
Watch More Videos at:
Lecture By: Mr. Anadi Sharma, Tutorials Point India Private Limited
Рекомендации по теме
Комментарии
Автор

Use coupon "YOUTUBE12" to get ‘’FLAT 12%’’ OFF at Checkout.

TutorialsPoint_
Автор

I'm doing a small function in C: "int isalnum (char obj);" It is returning a conflict error ... It is as follows ... The question asks exactly that the type is int and that the parameter be char. I understand that there is a conflict, but I will enter a char and return 1 or 0, which is an integer type. How to solve this? confused

alyssongomes
Автор

At 06:00 you forgot to explain why you had to copy errno to a local variable.

You also should have mentioned that one should never rely on the actual numbers of errno. Never write "errno == 2", always use the predefined constants, which are define in errno.h.

RolandIllig
Автор

EXIT_FAILURE has no guaranteed value. It may be anything except 0.

RolandIllig
Автор

Can I use this code as "C program to generate illegal exception in UNIX"

sheetalray
Автор

Don't use "extern int errno". This has already been wrong before YouTube even existed. Just remove it.

RolandIllig