C++ Interview Questions

Bjarne-stroustrup
 
Prev11 of 17Next

According to the C++11 standard, what is the output of this program?

#include <iostream>

int main() {
	static int a;
	std::cout << a;
}

Answer