#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
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
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
Social Sciences,
2 months ago
Math,
2 months ago
Science,
5 months ago
Geography,
10 months ago
Economy,
10 months ago