Question: 1 ) What will the following code display? int counter = 4 ; while ( counter > - 3 ) { counter - - ;
What will the following code display?
int counter ;
while counter
counter;
printfdcounter;
continue;
printfdcounter;
break;
How many times will the following loop iterate?
for i ; i ; i
printf;
What will the following code display on the screen if input is initialised to
input ;
if input
printfd;
if input
printfe;
if input
printff;
What will the following code display?
char counter B;
switch counter
case A: printf;
case B: printf;
case C: printf;
What is the final value of the variable counter
int counter;
int counter;
while countercounter
counter;
counter;
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
