Question discussion

Which of the following is a correct way of declaring an array of 15 integer elements in C?

359048Medium DSSSB TGT Computer Science 0 replies 0 views
0
Which of the following is a correct way of declaring an array of 15 integer elements in C?
  • Aarray int[15];
  • Barray int(15);
  • Cint array[15];
  • Dint array(15);
Correct answer: C

Explanation

An array of 15 integers in C is declared as "int array[15];".

Discussion 0

Nobody has replied yet. Start the discussion!