View Single Post
little_froy
Senior Member
Join Date: May 2021
Old 04-25-2024 , 13:30   Re: why this code run
Reply With Quote #2

an ArrayList(or more than 1) each is a cell as the variable. for a cell, you can use sizeof, just like C pointer, itself is always 4 or 8 byte, but it's unrelated to how many memory it allocated.

Last edited by little_froy; 04-25-2024 at 17:50.
little_froy is offline