Arrays / Array size type safe at compile time / Es

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> int main(int argc, char **argv) { char MyArray[] = { 'X','o','c','e' }; const auto n = std::extent<decltype(MyArray)>::value; std::cout << n << "\n"; }
Editor Settings
Theme
Key bindings
Full width
Lines