Meaning & use
Struct
Last updated
In computer programming, a composite data type that groups together variables of different types under one name.
See it in a sentence
The programmer defined a struct to store a customer's name, ID, and balance together.
In C, accessing a field of a struct uses the dot operator.
A note on using this word
Short for 'structure,' the term is a keyword in languages like C, C++, and Rust for bundling related data fields together.
Words with a similar meaning
Choose a synonym to suit the sentence. Meanings can overlap without being identical.
Make it your own
Write a sentence using “Struct”, then compare your use with the examples above.