#include <iostream>
using namespace std;
class CarCounter {
public:
CarCounter();
CarCounter(const CarCounter& origCarCounter);
void SetCarCount(const int count) {
carCount = count;
}
int GetCarCount() const {
return carCount;
}
private:
int carCount;
};
CarCounter::CarCounter() {
carCount = 0;
return;
}
CarCounter::CarCounter(const CarCounter &p){
carCount = p.carCount;
}
void CountPrinter(CarCounter carCntr) {
cout << "Cars counted: " << carCntr.GetCarCount();
return;
}
int main() {
CarCounter parkingLot;
parkingLot.SetCarCount(5);
CountPrinter(parkingLot);
return 0;
}
Sample output:
Cars Counted: 5
Yeah, Your steps ar correct. Let's analyse those steps more easily by the following steps:

Freeze panes is a feature in spreadsheet applications, such as Microsoft Excel, LibreOffice Calc, and Google Sheets. It "freezes" a row or column, so that it is always displayed, even as you navigate the spreadsheet.
❍ Freezing panes is especially useful if your spreadsheet has a header row, that you want to always be visible.
- Select the row below the row(s) you want to freeze. In our example, we want to freeze rows 1 and 2, so we'll select row.
- Click the View tab on the Ribbon.
- Select the Freeze Panes command, then choose Freeze
- Panes from the drop-down menu. ...
- The rows will be frozen in place, as indicated by the gray line.
<u>━━━━━━━━━━━━━━━━━━━━</u>
A burn-in test is a test which is usually performed on a system or component by running it for a long time in order to bring out any errors or system failures etc.
While doing it on CPU the data must be backed up as any kind of error or failure may result in the loss of data, at time systems can be repaired to retrieve data but still there is no guarantee, backing up is the best option.