hi everyone,
how do i innitialize a two dimentional array and assign the number of eliments to zero?
hi everyone,
how do i innitialize a two dimentional array and assign the number of eliments to zero?
You can't assign the number of elements of an array to zero; whatever size you declare your array to be, that's what it will be.
You can initialize an array when you declare it using an initaliizer list in curly braces.