Input in function

p is a array so it wiil give a ptr to its first element so we can give p direct as input i =n fn without using * operator