Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
Question 1
:
Which of the following statements are correct about 6 used in the program?
int num[6];
num[6]=21;
1.
In the first statement 6 specifies a particular element, whereas in the second statement it specifies a type.
2.
In the first statement 6 specifies a array size, whereas in the second statement it specifies a particular element of array.
3.
In the first statement 6 specifies a particular element, whereas in the second statement it specifies a array size.
4.
In both the statement 6 specifies array size.