Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Structure, field?

Também chamado de: structure (C struct) · field (of a structure)

Definition 6.3 University Computer Science — Year 1 · Capítulo 6 — Strings, Structures and Files

A structure in C is a type made of several named members, the fields, of possibly different types, stored in one block of memory in the order of their declaration. A field is reached with . from a structure and with -> from a pointer to one: p->x means (*p).x.

Ler no capítulo →