the video suggests to subtract the address of the key from the starting address of the array and that will give us the index. but each element of an int array will be of size 4. so if the key is present at 2nd index, will be not get the output as 8?
How to find the index of a key in an array using stl
why is there no response for so long time