tag:blogger.com,1999:blog-9029566282497559059.post3895640344392559002..comments2024-03-27T12:02:28.208-07:00Comments on Ask for Program: C example of passing Structure to Function.Samir Savsanihttp://www.blogger.com/profile/06726883671396225605noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-9029566282497559059.post-30983485673097193962013-07-08T13:28:56.753-07:002013-07-08T13:28:56.753-07:00can you please let me know what is the advantage o...can you please let me know what is the advantage of declaring a function with struct datatype,<br /> ex: typedef struct football{<br /> int n;<br /> char*p;<br />struct football*fb;<br />}football;<br /><br />football*show(char*name)/*pls tell me the use of this func<br />{//code goes here}<br /><br />/*rather than the above,what happens if i declare a func like this<br />void show(football*name){<br />}<br /><br />mail me on :diasmithunsmith@gmail.comAnonymoushttps://www.blogger.com/profile/04071294662805203097noreply@blogger.com