Computer Science, asked by jananik6780, 1 year ago

How to retrieve 5th assosciate name from an array associate_name[50]?

Answers

Answered by tamil98
0

printf("%d",associate_name[5]);

or

int a=associate_name[5];

Answered by StaceeLichtenstein
1

associate_name[4] is the correct answer to the given question.

Explanation:

  • Array is the collection of similar type of elements .As we can access the array with there key or index value .The array index always start with the 0 index and the last array element is access by the size-1 .
  • In the given question we have to find the 5th assosciate name from an array.The first element of  assosciate name array is 0 so we can access the array by passing there index value into the array name .

associate_name[4] by this we can retrieved the 5th assosciate name.

Learn More:

  • brainly.in/question/10050217
Similar questions