计算机科学中,一个数组数据结构对象内的偏移量是指数组或对象的起点与所要查找的值之间的距离,该距离是一个整数值。例如在字符数组 "abcdef "中,字符 "d "与a之间的偏移量为3。

Wikiwand in your browser!

Seamless Wikipedia browsing. On steroids.

Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.

Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.