// Code derived from Stroustrup's PPP2 book// § 4.5.2 Function declarations// -and beginning on p 117#include<iostream>usingstd::cout;intsquare(int);// declaration of squaredoublesqrt(double);// declaration of sqrtintmain(){intx=square(44);cout<<x<<'\n';// output above variable value to console...}// for now 'elsewhere' is simply below the definition of main() in this codefile// -for library software this definition will usually be in a separate codefileintsquare(intx)// definition of square{returnx*x;}