Question: I want to use enumeration type in C. I know how to use them but I have a question. I have an example like this

```
enum S { A,B,C,G };

```

I know this works but can i do something like this?

```
enum S {^,*,/,%};

```

Thanks for your time.

Answer: 
No. However, you could do something like this:

```
enum S
{ CARET = '^',
  STAR = '*',
  SLASH = '/',
  PERCENT = '%'
};

int foo()
{ enum S somevar = CARET;
  // ....
  if (somevar == PERCENT)
    // ....
}

```

Not sure if that would be useful for whatever it is you're trying to do, though, since you don't really give any background...
The [ANSI C specification](http://eli-project.sourceforge.net/c_html/c.html#m51) says you can use an "OrdinaryIdDef" for enums... so it follows the same rules as--for example--variable & function names