How do u pass a dynamically created struct to a function by reference. I cant get this to work i keep getting error at the function call saying: " error: cannot convert 'Student**' to 'Student*' for argument '1' to 'void display(Student*) " ....... so can somebody take a look at this and help me fix it?