// 2. cast an array to a vector int a[5] = {0, 1, 2, 3, 9}; vector<int> v4(a, *(&a+1));
Can somebody explain this part mentioned in leetcode array learning card? I am not able to get the pointer stuff happening.