I have a doubt regarding typedefs in C
lets take an example
As far I know typedef gives the name test to the structure then why we cannotCode:typedef struct{ int i; }test; int main() { struct test_t t; //copiler gives error test t; //no error message }
use it as struct test, even though we need not to use as struct test after declaring as typedef.
please comment
thanks & regards
onebrother