// Code derived from Stroustrup's PPP2 book// § 4.5 Functions// -and beginning on p 114// return the square of xintsquare(intx){returnx*x;}intmain(){square(2);// probably a mistake: unused return valueintv1=square();// error: argument missingintv2=square;// error: parentheses missingintv3=square(1,2);// error: too many argumentsintv4=square("two");// error: wrong type of argument – int expected}