In the beginning of my journey learning C++, I thought an object is an OOP-only related term. However, the more I learn and the more I read, I can see that this not the case
From https://timsong-cpp.github.io/cppwp/n3337/intro.object
An object is a region of storage.
In traditional OOP and OOD, an Object is used to describe class of objects some times and to an instance of a class some times.
In C++, class and struct represent classes.
An object in C++ can be an instance of a class or a struct but it can also be an instance of a fundamental type.
A few simple examples:
int i;
i is an object. It is associated with a region of storage that can be used by the program.
struct foo { int a; int b;};
foo f;
f is an also object. It is also associated with a region of storage that can be used by the program.
int* ptr = new int[200];
ptr is a pointer that points to 200 objects of type int. Those objects are also associated with a region of storage that can be used by the program.