InterviewSolution
Saved Bookmarks
| 1. |
Find the output of the following program:#include<iostream.h>void main() {int A = 5,B = 10;for(int I=1;I<=2;I++){cout<<"Line1"<<A++<<"&"<<B-2<<endl;cout<<"Line2"<<++B<<"&"<<A+3<<endl;}} |
|
Answer» Output: Line 15&8 Line 211&9 Line 1679 Line 212&10 |
|