Structs is an actively used design pattern. A composite data type (or record) declaration that defines a physically grouped list of variables to be placed under one name in a block of memory, allowing the different variables to be accessed via a single pointer.

?Years Old

Languages with Structs include c

Example from c:

struct account {
  int account_number;
  char *first_name;
  char *last_name;
  float balance;

Last updated June 22nd, 2020

Edit Structs on GitHub