Skip to main content
Christian
"The only way to do great work is to love what you do. If you haven't fount it yet, keep looking. Don't Settle,"
Asked a question last year

how to use struct in c?

Where am I?

In answerQA you can ask and answer questions and share your experience with others!

Maverick Noah
High hopes get Higher vibes

A structure is a user defined data type in C/C++. A structure creates a data type that can be used to group items of possibly different types into a single type. How to create a structure? 'struct' keyword is used to create a structure. Using struct keyword: In C, we need to use struct to declare a struct variable. In C++, struct is not necessary. For example, let there be a structure for Record. In C, we must use “struct Record” for Record variables.

Related Questions