// Code derived from Stroustrup's PPP2 book// § 3.9 Type safety// -beginning on p 78#include<iostream>usingstd::cout;intmain(){doublex;// we “forgot” to initialize:// the value of x is undefineddoubley=x;// the value of y is undefineddoublez=2.0+x;// the meaning of + and the value of z are undefinedcout<<x<<'\n'// output above variable values to console...<<y<<'\n'//<<z<<'\n';}