C program to count positive and negative elements in Array