Your assumption is incorrect, the object exists, starting with the = sign, which starts initialization. For example, in the initializer, you are allowed to use the address of the object that you are initializing.
Here, in addition, there is no access to the object itself, sizeof uses only this type.
source share