How do I find the size of a 2D array in C++? Is there any predefined function like sizeof to determine the size of the array?
sizeof
Also, can anyone tell me h
sizeof(yourObj)/sizeOf(yourObj[0])
should do the trick