Type data structure as a function of the parameter

1. to do with the structure parameter variable name. print (Student stu);

2. pointer variables as arguments and parameters, print (Student * p), when the call uses only a few bytes, stu argument just starting address to the parameter, and high efficiency.

3. Student argument is a structure type variables, the Student parameter with a reference type, is passed when the combination of the virtual address stu, high efficiency, but also visually.

Guess you like

Origin www.cnblogs.com/overdo1949/p/11263165.html