The second example is wrong wink
typedef has the syntax:
typedef oldType newName;
in your case, newName is 'objects2', oldType is
Code:
struct objects2 {
    int a[1024];
}



so objects2 is actually a type name and not an object. you must declare
Code:
objects2 obj3;

to get an acutal object of type objects2


Visit my site: www.masterq32.de