Tag: Get the length of char array in C++
Get the length of char array in C++
This tutorial will discuss about a unique way to get the length of char array in C++. Get maximum number of elements an array can hold We can get the length of a char array, just like an another array i.e. fetch the actual size of array using sizeof(arr), and divide it with the size …