If we look at the following example:
1 2 3 4 5 6 7
|
struct structure
{
int _varaible;
char _char_var= 'c';
};
structure *structure_instance = new structure;
|
Do the variables inside of the structure become heap allocated or remain stack allocated?
Last edited on