What does the following declaration mean?
int (*ptr)[10];

Home | Discussion Forum
Taiyari24Hour

What does the following declaration mean?
int (*ptr)[10];



View More Related Question

1) Size of the array need not be specified, when

2) Array passed as an argument to a function is interpreted as

3) What is the maximum number of dimensions an array in C may have?

4) What will be the output of the program ?

 #include<stdio.h>
void main()
{
int a[5] = {5, 1, 15, 20, 25};
int i, j, m;
i = ++a[1];
j = a[1]++;
m = a[i++];
printf("%d, %d, %d", i, j, m);
}

5) In C, if you pass an array as an argument to a function, what actually gets passed?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.