#include <iostream> using namespace std; const int &test() { static int a=3; return a; } int main() { test()++; test()++; cout << test() << endl; return 0; }
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment