why is the output of this program 0 in c? : In this code i am trying to pass a pointer to the structure and then using this pointer to work on the structure members but why the output is always showing 0 ?

    #include<stdio.h>
    #include<string.h> 
    struct student
    {
       int go;
      }s;
    void m();
    void main()
    {
      m(&s);  
      printf("%d",s.go);
  
      }
      void m(struct student *ptr)  
      {
          ptr->go;  


       }
