C: casting to new structure vs casting to defined structure

my question is simple, does this

typedef struct {a;b;c;d;}bar;
((bar*)ANOTHERSTRUCTPOINTER)->a=1;
((bar*)ANOTHERSTRUCTPOINTER2)->a=1;
//<...>
((bar*)ANOTHERSTRUCTPOINTERn)->a=1;

has the same execution time as this?

((struct {a;b;c;d;}*)ANOTHERSTRUCTPOINTER)->a=1;
((struct {a;b;c;d;}*)ANOTHERSTRUCTPOINTER2)->a=1;
//<...>
((struct {a;b;c;d;}*)ANOTHERSTRUCTPOINTERn)->a=1;

please mind that this is just an example, so don't just question the fact i didn't use an array


ANSWERS:


Yes, they mean the same thing and should compile into the same executable code.



 MORE:


 ? Why I am getting quicksort.exe has stopped working and error 255 <0xff> while running my code of quicksort algoritm?I am using Code Blocks
 ? Making a data structure available to all instances of a class?
 ? Why doesn't my search algorithm work for Project Euler 31?
 ? How to create one to many in mongoDB using java
 ? How to find first node of linked list without knowing the Head Node
 ? The cheapest way to compare two sets of strings
 ? Binary Tree Delete Node function not working
 ? What does Antimonotonicity and monotonicity constraint mean?
 ? Arrange numbers of array so that adjacent numbers sum are perfect square
 ? SQL CREATE and SELECT processing simulation in Java