Computer Science, asked by jollyjain6708, 1 year ago

The structure combines variables of​

Answers

Answered by itzBrainlyBoy
7

Answer:

A struct in the C programming language (and many derivatives) is a composite data type (or record) declaration that defines a physically grouped list of variables under one name in a block of memory, allowing the different variables to be accessed via a single pointer or by the struct declared name which returns the ...

Answered by Rameshjangid
0

Answer: The structure combines variables of​ multiple variables and any sort of data are combined into one logical unit by a structure. Components are the variables that are defined within a structure.

Explanation:

Step :1 A structure is a grouping of one or more variables with a single name that may be of multiple types. The data type was created by the user. The name of the structure type is provided via an optional identifier known as a "tag," which may be used in subsequent references to the structure type. The whole sequence specified by that type of structure is included in a variable of that type.

Step :2 The use of structures, also known as structs, allows you to collect numerous related variables in a single location. A member of the structure is referred to as each variable in it. A structure, as opposed to an array, can hold a wide variety of data types (int, float, char, etc.). No memory or storage space is allocated when a struct type is specified. We need to define variables in order to allocate memory of a specific structure type and operate with it. struct Person / code person1, person2, p[20] is another technique to make a struct variable.

To learn more about similar questions visit:

https://brainly.in/question/6934755?referrer=searchResults

https://brainly.in/question/3036724?referrer=searchResults

#SPJ6

Similar questions