Computer Science, asked by velavelapallisriram, 5 months ago

#include <stdio.h>
void m(int *p)
{
int i = 0;
for(i = 0;i < 5; i++)
printf("%d\t", p[i]);
}
void main()
{
int a[5] = {6, 5, 3};
m(&a);
}​

Answers

Answered by kumarika231
2

Answer:

6      5      3      0     0

Explanation:

The numbers are separated by tabs in the output.

A partial array initialisation has been done in the following line

int a[5] = {6, 5, 3};

So the fourth and fifth elements are automatically initialised to 0.

Answered by shilpa85475
0

6,5,3,0,0

Because the size of an array is 5

Explanation:

An array is described as an ordered set of comparable records objects.

All the records objects of an array are saved in consecutive reminiscence places in RAM.

The factors of an array are of equal records kind and every object may be accessed by the use of the equal name.

An association of objects, pictures, or numbers in rows and columns is known as an array.

Similar questions