header starting c++ program code example Example: what is a header in c++ int x; // declaration x = 42; // use x