I found the similar question but it is for GCC compiler and I am using clang. I want to intialize the whole array with integer 1(C++ std=17).
std::cout<<a[5] ; // I want it to print 1
I found the similar question but it is for GCC compiler and I am using clang. I want to intialize the whole array with integer 1(C++ std=17).
std::cout<<a[5] ; // I want it to print 1