Quote Originally Posted by student111 View Post
I am making a structure for the student and wanted to know that if we make a structure using
You can do this. I would recommend a class (with proper setters and getters).
If your compiler supports initializer lists, then the syntax

Code:
student ={"student_name","student_address", "student_age"};
becomes possible too.
Otherwise I would urge you to rely on a constructor.