T
Tagore
Hi,
when I try to declare an empty structure, there is no error as in
below
struct a{
};
however, when I try to declare an empty enum it shows error as in
enum a{
};
Why are different behaviors in case of struct & enum? Also I would
like to know what could be use of such an empty structure?
Thanks,
when I try to declare an empty structure, there is no error as in
below
struct a{
};
however, when I try to declare an empty enum it shows error as in
enum a{
};
Why are different behaviors in case of struct & enum? Also I would
like to know what could be use of such an empty structure?
Thanks,