FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

// 04-static-var.cpp : preserving function state in a static variable #include using namespace std; void f() { static int s{1}; println("{}", s); ++s; } int main() { f(); f(); f(); }

Back | FazBrowse Home | New Git URL