Home » Ask & Discuss » Board Exams - CBSE, ICSE, State Boards » Computer Science « Back to Discussion
Computer Science
If, Function call : fun(a,b.c); Function prototype : void fun(int, int&)
(a) structure mem
None
If, Function call : fun(a,b.c); Function prototype : void fun(int, int&) (a) structure member is being passed by value.(b) structure member is being passed by reference.(c) structure member will not be passed at all.(d) structure member will lose its value.












(c) structure member will not be passed at all
since u have written function prototype as void fun(int , int&) i.e. u have used int data type instead of the structure tag-name which is used as a data type in case if stucture