0

How to find the array size in c++

C++

31st Jul 2019, 3:01 PM
kajamohan
kajamohan - avatar
3 Réponses
0
You can use sizeof operator for array with known-bound
31st Jul 2019, 3:14 PM
Agent_I
Agent_I - avatar
0
How we find the number of elements in the array?
31st Jul 2019, 3:15 PM
kajamohan
kajamohan - avatar
0
kaja mohan Just divide the array size with the size of the array data type
31st Jul 2019, 3:19 PM
Agent_I
Agent_I - avatar