C-05-Q136mediumsingle_mcq
In the shortcut int marks[] = {87, 82, 76, 85, 88};, how does the compiler get the number of elements?
In the shortcut int marks[] = {87, 82, 76, 85, 88};, how does the compiler get the number of elements?
- aFrom the array name
- bFrom the elements inside the curly braces
- cFrom the data type
- dIt defaults to 10