Question: What is printed when the following code executes: ` ` ` #include int main ( ) { int i = 5 , j = 1

What is printed when the following code executes:
```
#include
int main(){
int i=5, j=10, k=15;
if(i ==5){ printf("at 1
");
if(j ==10){ printf("at 2
");
if(k==15){ printf("at 3
");
}
}
}
}
```
at 2
at 3
at 1
at 2
at 3
nothing prints out
at 3
What is printed when the following code executes:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!