பின்வரும் c++ நிரலின் வெளியீட்டை எழுதுக.
#include < iostream >
#include < string >
using namespace std;
struct student
{
introll_no;
char name[10];
longphone_number;
};
int main(){
student p1 = {1,"Brown",123443};
student p2, p3;
p2.roll_no = 2;
strcpy(p2.name ,"Sam");
p2.phone_number = 1234567822;
p3.roll_no = 3;
strcpy(p3.name,"Addy");
p3.phone_number = 1234567844;
cout<< "First Student" < cout << "roll no : " << p1.roll_no < cout << "name : " << p1.name < cout << "phone no : " << p1.phone_number < cout << "Second Student" < cout << "roll no : " << p2.roll_no < cout << "name : " << p2.name < cout << "phone no : " << p2.phone_number < cout << "ird Student" < cout << "roll no : " << p3.roll_no < cout << "name : " << p3.name < cout << "phone no : " << p3.phone_number < return 0;
}