0

True memory size of arr[]

the size of an array is.. <sizeof(elem) * num_elems + arr_name_ptr(8byte)> ? so bool[3] arr --> sizeof(bool)*3 + 8 --> 11 bytes?

29th Jul 2021, 11:24 AM
Kiwwi#
Kiwwi# - avatar
2 ответов
+ 1
Kiwwi# Please make your question clear.
29th Jul 2021, 12:16 PM
Calvin Thomas
Calvin Thomas - avatar
+ 1
29th Jul 2021, 12:21 PM
Kiwwi#
Kiwwi# - avatar