10
What will be the output of the program?
#include <iostream>
using namespace std;
int counter() { static int c = 10; return c++; }
int main() {
counter(); counter();
cout << counter() << endl;
return 0;
}Medium