What u get is the address to the array. do iterate it using a for loop.
What type of data is the array. char? int? The array variable itself is nothing bat a pointer to that specified type.
int Slab[50]
Slab[20] = 100;
Slab[20] will give the value 100 and it is an integer
I will let you work the rest out.
I must admit that this has the feel of an unstudied university assignment about it.
There are far to many unqualified programmers with university degrees ;)
Study hard.