write the syntax of structure?
Answers
Answered by
21
struct keyword is used to define a structure. struct defines a new data type which is a collection of primary and derived data types. Syntax: struct [structure_tag] { //member variable 1 //member variable 2 //member variable 3 ... }
Similar questions