我size_t在C中感到困惑.我知道它是由sizeof运营商返回的.但究竟是什么呢?它是数据类型吗?
size_t
sizeof
假设我有一个for循环:
for
for(i = 0; i < some_size; i++)
我应该使用int i;或size_t i;?
int i;
size_t i;
c int size-t
c ×1
int ×1
size-t ×1