what is size_t in C
Posted
by benjamin button
on Stack Overflow
See other posts from Stack Overflow
or by benjamin button
Published on 2010-03-31T05:51:55Z
Indexed on
2010/03/31
5:53 UTC
Read the original article
Hit count: 181
Hi,
i am getting confused with size_t in C. i know that it is returned by a sizeof operator. But what exactly it is?Is it a datatype? let's say i have a for loop
int i;
or size_t i;//which one should i use?
for(i=0;i<some_size;i++)
© Stack Overflow or respective owner