Is the
following code legal?
typedef struct a
{
int x;
aType *b;
}aType
Answer:
No
Explanation:
The typename aType is not
known at the point of declaring the structure (forward references are not made
for typedefs).
Blog Author: Vijay Kumar
No comments:
Post a Comment