Hi,
Is it valid to assign a value which is out of the set to an ENUM variable ?

for example
-------------
enum status
{
installed = 10;
uninstalled = 20;
repair = 30;
};

enum status current_status;
current_status = 10;
if(current_status == installed)
current_status++;

Can i write a code like this ?, here if the 'if' condition satisfies, the value of current_status will be set to 11 which is out of the set, is it going to be any error in this case.

Thanks
Kiran