Question: Chapter 3 Q 1 2 { What is the output of the following C program? } } #include int main ( ) { int x
Chapter Q
What is the output of the following C program?
#include
int main int x ; switchx case : printf; case : printf; case : printf; default: printfSCARY ; x ; switchx case : printf; case : printf; case : printf; default: printfDOGS ; break; return ;
a
DOGS
b
SCARY DOGS
c
SCARY DOGS
d
SCARY DOGS
e
None of these
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
