#include <stdio.h> #include <stdlib.h> typedef struct Foo { int y; } Foo; typedef struct Node { int x; struct Node next; // this won't compile } Node; int main(int argc, char **argv) { printf("%zu", sizeof(Node)); return 0; }
If you find our content useful and has helped you in the past, you can help the CodeVault community grow by becoming a CodeVault supporter