Answers

Question and Answer:

  Home  Basic C++ Syntax

⟩ What is format for defining a structure?

The format for defining a structure is:

struct Tag {

Members

};

Where Tag is the name of the entire type of structure and Members are the variables within the struct. To actually create a single structure the syntax is

struct Tag name_of_single_structure;

 188 views

More Questions for you: