B
Baloff
Hello
what is the struct name and what is the typedef identifier?
example 1:
struct firstname {
....code
};
is the firstname here the struct and type name?
----------------------------------------------------------------------
example 2:
struct {
....code
} lastname;
does this exist in the language, is so what's it mean?
----------------------------------------------------------------------
example 3:
struct firstname {
....code
}lastname;
does this exist in the language, is so what's it mean?
----------------------------------------------------------------------
example 4:
typedef struct {
....code
} lastname;
is lastname the type, and why the firstname missing?
----------------------------------------------------------------------
example 5:
typedef struct firstname{
....code
} lastname;
why 2 names?
----------------------------------------------------------------------
why all the above variations and when most applied?
does this go on enum and union alike?
thank you
what is the struct name and what is the typedef identifier?
example 1:
struct firstname {
....code
};
is the firstname here the struct and type name?
----------------------------------------------------------------------
example 2:
struct {
....code
} lastname;
does this exist in the language, is so what's it mean?
----------------------------------------------------------------------
example 3:
struct firstname {
....code
}lastname;
does this exist in the language, is so what's it mean?
----------------------------------------------------------------------
example 4:
typedef struct {
....code
} lastname;
is lastname the type, and why the firstname missing?
----------------------------------------------------------------------
example 5:
typedef struct firstname{
....code
} lastname;
why 2 names?
----------------------------------------------------------------------
why all the above variations and when most applied?
does this go on enum and union alike?
thank you