logo

Crowdly

Browser

Add to Chrome

4. What is the output of the following program? #include<iostream>   usin...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

4.

What is the output of the following program?

#include<iostream>

 

using

namespace std;

void f()

{

   static int i;

   ++i;

   cout<<i<<" ";

}

main() {

   f();

   f();

   f();

}

0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on e.tsi.lv?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome