 |
C 'sizeof' Operator Explanation and Examples | Lainoox
This length check is only safe to do, as long as dptr is defined within the same scope as the calculation. Otherwise, if you pass dptr to a function, depending on your architecture, the len may be calculated on a pointer rather than the object itself and
www.lainoox.com |
 |