Question: what is undefined behaviour in c?
Answer: In computer programming, undefined behavior (UB) is the result of executing a program whose behavior is prescribed to be unpredictable, in the language specification to which the computer code adheres. ... In the C community, undefined behavior may be humorously referred to as "nasal demons", after a comp.