mImoto
Full Member level 4
When I place a return inside a case statement like:
..
switch(NODE)
{
CASE 'a': ....
return(something);
break;
CASE 'b': -...
....
Does the return go out of the switch structure or just of the Case, or is it the break executed after the return?
And another one:
If I use typedefs is possible:
typedef unsigned har tByte;
and then in a program.
static BYTE example;
Best regards,
mimoto
..
switch(NODE)
{
CASE 'a': ....
return(something);
break;
CASE 'b': -...
....
Does the return go out of the switch structure or just of the Case, or is it the break executed after the return?
And another one:
If I use typedefs is possible:
typedef unsigned har tByte;
and then in a program.
static BYTE example;
Best regards,
mimoto