#include main() { int num[20],p=0,q=1,r,num; clrscr(); printf(“Enter number of elements:”); scanf(“%d”,&num); printf(“\\n enter %d elem