Definition of "struct" [struct]

  • A data structure, especially one that serves to group a number of fields (in contrast to an object-oriented class with methods) or one that is passed by value rather than by reference. (noun) : Text is available under the Creative Commons Attribution-ShareAlike License

Use "struct" in a sentence
  • "PyLongObject is defined as a struct of type _longobject within the header"
  • "This tells the CLR that the integer i and the double d are both at offset zero (that is, the first items) in your struct, which makes them overlap and, in effect, the struct is a union."
  • "The Linux kernel keeps complete information about a process in a process descriptor defined as struct task_struct."