Answers for "how to declare one structure into another structure in c"

C
1

how to put a struct in another struct C

struct B {  // <-- declare before
  int number;
};
struct A {
 int data;
 B b; // <--- declare data member of `B`
 };
Posted by: Guest on May-08-2020

Code answers related to "how to declare one structure into another structure in c"

Code answers related to "C"

Browse Popular Code Answers by Language