全心思齐网

sizeof和strlen相同点和区别?

sizeof释义:

n. 运算符;大小

例句:

My room is half the sizeof the room next to it.

我的屋子是旁边那个屋子大小的一半。释义:

n. 运算符;大小

例句:

My room is half the sizeof the room next to it.

我的屋子是旁边那个屋子大小的一半。

strlen释义:

abbr. 字符长度(string length)

例句:

So strlen is the length of a string.

所以strlen就是字符串的长度。

匿名回答于2024-06-02 00:35:05


相关知识问答