[Example 1: int main(){int x =1/0; // undefined behavior, division by zerodouble d =1.0/0.0; // undefined behavior on systems where the range of// representable values of double is [-max,+max], on systems where// representable values is [-inf,+inf] this would not be undefined behavior} — end example]