I saw a line of C that looked like this:
!ErrorHasOccured() ??!??! HandleError();
It compiled correctly and seems to run ok. It seems like it's checking if an error has occurred, and if it has, it handles it. But I'm not really sure what it's actually doing or how it's doing it. It does look like the programmer is trying to express their feelings about errors.
I have never seen the
??!??!
before in any programming language, and I can't find documentation for it anywhere. (Google doesn't help with search terms like
??!??!)
. What does it do and how does the code sample work?