C++ Syntax Question:
Download Questions PDF

What is format for defining a structure?


The format for defining a structure is:

struct Tag {
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;

Download Basic C++ Syntax Interview Questions And Answers PDF

Previous QuestionNext Question
What is general format for a prototype?How to access a variable of the structure?