+ 1

What is size_t data type...????

Please elaborate it ... .

18th Jun 2020, 8:14 AM
saurabh
saurabh - avatar
3 Respostas
+ 5
The datatype size_t is unsigned integral type. It represents the size of any object in bytes and returned by sizeof operator. It is used for array indexing and counting. It can never be negative. The return type of strcspn, strlen functions is size_t.
18th Jun 2020, 8:16 AM
Diya AbuZaid
Diya AbuZaid - avatar
18th Jun 2020, 8:17 AM
Kevin ★
0
It's an unsigned long long int used to represent the size and/or the number of objects
19th Jun 2020, 2:59 PM
Anthony Maina
Anthony Maina - avatar