InterviewSolution
Saved Bookmarks
| 1. |
Find the output of the following program:#include<iostream.h>void main() {int First=25,Sec=30;for(int I=1;I<=2;I++0{ cout<<"Output1="<<First++<<"&"<<Sec+5<<end1;cout<<"Output2="<<-Sec<<"&"<<First-5<<end1;}} |
|
Answer» Output: Output1=25&35 Output2=-30&21 Output1=26&35 Output2=-30&22 |
|