Timeline for Purpose of sizeof(book)/sizeof(string) in lectures' binary sort?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 29, 2018 at 1:05 | comment | added | Cliff B | No, the numbers won't change. The pointers in the array point to the strings. It doesn't matter what's in the strings. Think of it this way. My hand points at a house on monday, and an apartment complex on tuesday. No matter which building it points at, or how many people (they're real characters! :-P) live there, my hand, the pointer, is always the same size. ;-) | |
Jun 29, 2018 at 1:02 | vote | accept | Davis | ||
Jun 29, 2018 at 1:01 | comment | added | Davis | Disreguard this edit, I understand now. | |
Jun 29, 2018 at 0:43 | history | answered | Cliff B | CC BY-SA 4.0 |