- Q5 20 We A Have A Two Dimensional Array Of Characters Char B M N With M Rows And N Columns That Is Already Filled 1 (35.98 KiB) Viewed 13 times
Q5) (20) We a have a two-dimensional array of characters char b[m][n], with m rows and n columns that is already filled
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Q5) (20) We a have a two-dimensional array of characters char b[m][n], with m rows and n columns that is already filled
Q5) (20) We a have a two-dimensional array of characters char b[m][n], with m rows and n columns that is already filled with characters. (So do not write statements to fill the array with character values, as we assume the array already filled with values). Write a C++ statements that count how many times the word Hi appears in the array b For example, if we are given that array b[3][7] is filled as follows: C L H H 0 1 i L L M B P y L H e H I 1 Then, for this example, your statements should output that Hi appeared 4 times in the Note: Do not use C-string or any pre-defined functions to solve the problem (in fact not nee