title: What is the use of Struct Tag name in C programming?
body: <p>I want to know the actual use of struct tag_name in C programming. Without using the tag_name also i was getting output as with use of tag_name. I want the exact reason behind this process.</p>
  
  <p>For ex:</p>
  
  <pre><code>//With tag_name st1
  struct st1 { int x; char c;}x={100,'a'},y={70,'e'};
  
  //Without any tag_name
  struct { int x; char c;}x={100,'a'},y={70,'e'};
  
  printf("x.x= %d \t x.c= %c \n",x.x,x.c);   //Output: x.x=100    x.c=a
  printf("y.x= %d \t y.c= %c \n",y.x,y.c);   //Output: y.x=70     y.c=e
  </code></pre>