Question: What will be the output for the following program? #include using namespace std; int main() { } int a = 2; int b =
What will be the output for the following program? #include using namespace std; int main() { } int a = 2; int b = -1; for (b= 5; b> 0; b--) { *= b; } a cout
Step by Step Solution
3.31 Rating (154 Votes )
There are 3 Steps involved in it
Answer Starting with a 2 and b 5 it per... View full answer
Get step-by-step solutions from verified subject matter experts
