You can do this. I would recommend a class (with proper setters and getters).
If your compiler supports initializer lists, then the syntax
becomes possible too.Code:student ={"student_name","student_address", "student_age"};
Otherwise I would urge you to rely on a constructor.