+ 3
Can someone explain me this .
A structure is also called a composite or aggregate data type.
8 Antworten
+ 2
Composite means combined to.
Aggregate means several are combined into single group or form. So synanimically it is also called composite or aggregate data type. .
+ 1
Jayakrishna🇮🇳 thanks
0
Can you specify more please?
0
It is of c language structures
0
Alright,
In C programming, a struct (or structure) is a collection of variables (can be of different types) under a single name. Before you can create structure variables, you need to define its data type. To define a struct, the struct keyword is used.
0
Yes ....
But what about composite and aggregate data type
0
struct is a keyword to form a structure.
Eg:
struct yahoo{
char author[30];
.....
...
};
int main(){
struct yahoo title;
strcpy(title.author,"sololearn");
}