Can structure contain a pointer itself?

1 answer

Answer

1135455

2026-07-31 20:20

+ Follow

Yes a simple exp is the link list.

struct node

{

int data;

struct node *link;

}

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.