Skip to content

Is it possible to have a member in a structure whose data-type is same as the struct? #5

@Vishwajith-K

Description

@Vishwajith-K

Ans - No. Size of the data-type is yet not known so you can not do that, even if you try using typedef. GCC complains saying incomplete type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions