Computer Applications
Related Questions
Total size of array A having 25 elements of char type is …………… .
- 25 bytes
- 50 bytes
- 100 bytes
- None of these
Total size of array B[10][5] of int type is …………… .
- 50 bytes
- 15 bytes
- 100 bytes
- 200 bytes
Which of the following statements are valid array declaration ?
- int number( );
- float average[ ];
- double[ ] marks;
- counter int[ ];
Consider the following code
int number[ ] = new int[5];After execution of this statement, which of the following are True ?
- number[0] is undefined
- number[5] is undefined
- number[2] is 0
- number.length is 5