Check out example codes for "what is size_t in c". It will help you in understanding the concepts better.

Code Example 1

/*
The datatype size_t is unsigned integral type.
It represents the size of any object in bytes and is returned by the
sizeof operator.
It can never be negative.
*/

Learn ReactJs, React Native from akashmittal.com