online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> template<unsigned int a = 33> class A { public: inline static unsigned char x{}; static unsigned int f(void) { return x + a; } }; // Instantiate template template class A<>; int main(void) { A<>::x = 3; std::cout << A<>::f() << std::endl; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue