Computer Science, asked by nabilaahmed231999, 2 months ago

2 points
"What is the output of C
Program with switch
statement or block.? int main){
static int a=5; switch { case 0:
printf""ZERO""); break; case 5:
printf("FIVE "");break; case 10:
printf("DEER ""); }
printf"LION"");}"
O ZERO FIVE DEER LION
FIVE DEER LION
FIVE LION
O Compiler error

Answers

Answered by smunmun534
0

Answer:

int main()

{

int a=5;

switch(a)

{

case 0: printf("0 ");

case 3: printf("3 ");

case 5: printf("5 ");

default: printf("RABBIT ");

}

a=10;

switch(a)

{

case 0: printf("0 ");

case 3: printf("3 ");

case 5: printf("5 ");

default: printf("RABBIT "); break;

}

return 0;

}

Answered by divyanshnaharia
0

Answer:

vycycucyvucycyc

Explanation:

it hi hi it I it y ffuDlivvjlovdrb

Similar questions
Math, 1 month ago