S
sethukr
can we define enum within a structure??
for example,
typedef enum {red,blue}color;
struct s1{
color c;
}obj;
obj.c = blue;
Is it possible?? if yes, can anybody tell me how it possible??
-Sethu
for example,
typedef enum {red,blue}color;
struct s1{
color c;
}obj;
obj.c = blue;
Is it possible?? if yes, can anybody tell me how it possible??
-Sethu