Computer Science, asked by tuheliray, 10 months ago

can anyone please write a program with array here ?

Answers

Answered by heeraskaushik
0

Explanation:

Arrays in C programming with examples. An array is a group (or collection) of same data types. For example an int array holds the elements of int types while a float array holds the elements of float types

  • int mark[5] = {19, 10, 8, 17, 9};
  • int mark[5] = {19, 10, 8, 17, 9};int mark[] = {19, 10, 8, 17, 9};
  • int mark[5] = {19, 10, 8, 17, 9};int mark[] = {19, 10, 8, 17, 9};int mark[5] = {19, 10, 8, 17, 9} // make the value of the third element to -1 mark[2] = -1; // make the value of the fifth element to 0 mark[4] = 0;
Similar questions