// Code derived from Stroustrup's PPP2 book// § 5.3.1 Syntax errors// -and beginning on p 137#include<iostream>usingstd::cout;// calculate area of a rectangleintarea(intlength,intwidth);intmain(){ints1=area(7;// error: ) missingints2=area(7)// error: ; missingInts3=area(7);// error: Int is not a typeints4=area('7);// error: non-terminated character ( ' missing)cout<<s1<<'\n'//<<s2<<'\n'//<<s3<<'\n'//<<s4<<'\n';}intarea(intlength,intwidth){returnlength*width;}