Can You Throw An Exception In C?
Can You Throw An Exception In C? C doesn’t support exception handling. To throw an exception in C, you need to use something platform specific such as Win32’s structured exception handling — but to give any help with that, we’ll need to know the platform you care about. …and don’t use Win32 structured exception handling.