My struct is as follow.
typedef struct user {
char *name;
int age;
} User;
Now when I am creating an array, I wonder what is the different between below both statments.
User users[10];
vs
User users[10] = {};
My struct is as follow.
typedef struct user {
char *name;
int age;
} User;
Now when I am creating an array, I wonder what is the different between below both statments.
User users[10];
vs
User users[10] = {};
The first (User users[10];) do not erase the flash or memory so it is possibel that you have things on this memory from the Programm befor