size_t

[Data Types]

Description

size_t is a data type capable of representing the size of any object in bytes. Examples of the use of size_t are the return type of sizeof() and Serial.print().

Syntax

size_t var = val;

Parameters

var: variable name
val: the value to assign to that variable

See also

  • LANGUAGE String()

  • LANGUAGE array

  • LANGUAGE bool

  • LANGUAGE boolean

  • LANGUAGE byte

  • LANGUAGE char

  • LANGUAGE double

  • LANGUAGE float

  • LANGUAGE int

  • LANGUAGE long

  • LANGUAGE short

  • LANGUAGE string

  • LANGUAGE unsigned char

  • LANGUAGE unsigned int

  • LANGUAGE unsigned long

  • LANGUAGE void

  • LANGUAGE word