You are viewing a single comment's thread. Return to all comments →
int main() { struct Student{ int age; string first_name; string last_name; int standard; }; Student s; cin >> s.age >> s.first_name >> s.last_name >> s.standard; cout << s.age << " " << s.first_name << " " << s.last_name << " " << s.standard; return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Structs
You are viewing a single comment's thread. Return to all comments →