Friday, February 5, 2010

What is structure in C++?

The C++ programming technique allows defining user defined datatypes through structure. The syntax to declare structure is as follows:
struct student
{
      char name[100]
      char address[250]
};

0 Comments: