Louis I. answered 04/18/19
Computer Science Instructor/Tutor: Real World and Academia Experienced
Hello there!
If you're curious to know what data type size_t is defined as, you'll find its definition in one of the include files (under /usr/include).
It's typically an unsigned int or long ...
Here's how it's defined by the system I'm currently using.
typedef unsigned int size_t;
But we shouldn't care what it is!
C has effectively abstracted this "size_t" data type for us - allowing our code to be immune to change or differences across systems.
We should use size_t when needing to define a like variable ... "unsigned int" today, something else tomorrow - we shouldn't need to care!