but on C++ you can do that only with lambda or like this int a[] = { 0, 0, 2, 0, 0 } or after initializating you must do a[3] = 2; and it's pretty annoying, can we get in C++29 this C feature?which will make the array 0, 0, 2, 0, 0In C you can doint a[5] = {
[3] = 2,
};