App Logo

No.1 PSC Learning App

1M+ Downloads
Which of the following is the correct declaration for an array ?

Aint m(5)

Bint [5]m

Cm[5] int

Dint m[5]

Answer:

D. int m[5]


Related Questions:

What is the value of sum after the execution of the following code?

int sum = 0;

for (int i = -5; i<=;i++)

{

         if (!i) break;

         sum += i;

}

 

 

Which of the following is not a reserved keyword in Java?
How do you define a function in JavaScript ?
Java is an example for .....
Full Form for EBCDIC: