Write a function that uses s Student reference variable as its parameter and stores the user\'s input in the structure\'s members. In C++ Solution struct student getData(struct student stu){ cout<<\"Enter Name: \"; cin>>stu.name; cout<<\"Enter roll: \"; cin>>stu.roll; return stu; } Pasted the whole prog as well #include <iostream> using namespace std; #include <stdio.h> struct student{ char name[50]; int roll; }; struct student getData(struct student stu){ cout<<\"Enter Name: \"; cin>>stu.name; cout<<\"Enter roll: \"; cin>>stu.roll; return stu; } void display(struct student stu){ cout<<\"Name: \"<<stu.name<<endl; cout<<\"Roll: \"<<stu.roll<<endl; } int main(){ struct student s1; s1=getData(s1); display(s1); return 0; } .