415
There are terms called undefined and unspecified behavior in C++. This is interesting. So the undefined behavior is where the complier can decide whatever it wants because you wrote a messy code and the unspecified one is when the compiler can not choose among the given choices because of ambiguity. For the undefined one it might throw an error or can decided to give it a value and go on or also can cause a segfault or basically anything. For unspecified usually it works but you can not determine the order of execution.
14 Jan, 04:24
