Question: how???? please explain Consider the following code snippet: what will be printed in line 11 ? 1. int c=0; 2. void Func_A (int n) 3.

how???? please explain Consider the following code snippet: what will be printed in line 11

Consider the following code snippet: what will be printed in line 11 ? 1. int c=0; 2. void Func_A (int n) 3. ( 4. if(n== 0) 5. return; 6. C++; 7. Func_A (n/10); 8.) 9. int main() { 10. Func_A(123456789); 11. cout < < C; 12. return 0; } 10 987654321 9876543210 123456789

Step by Step Solution

3.38 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer int c0 void Func... View full answer

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 Electrical Engineering Questions!