Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

Is that possible to pass a structure variable to a function/ If so,explain the detailed ways?
yes  it is possible to pass structure variable to a function
struct emp
{
   int eno;

};
void disp(struct emp e)
{
printf(e.eno);
}
void main()
{
struct emp e;
e.eno=10;
disp(e);
}