11
What will be the output of the program?
#include <iostream>
using namespace std;
class S {
public:
static int twice(int v) { return 2 * v; }
};
int main() {
cout << S::twice(8) << endl;
return 0;
}Easy