Some comments on your code:
#include<stdio.h>
#include<conio.h>
int main()
{
int num[10], i, a, pos, n;
clrscr();
printf("enter the no of element in the array:");
scanf ("%d",&a); printf("Enter the array element:");
for(i=0;i<n;i++) {
scanf("%d",&a); }
printf("\n Array you enterd: \n");
for (i=0; i<n; i++) {
printf("a[%i]=%i",i, a); a=a; for(i=5; i>=pos; i--) a==a-1; a-1==a; printf("Array with elemet added");
for(i=0; i<n; i++)
printf("\n %d=%d=", i+1, num[i]); }
return(0);
}
So I suggest you throw this code away and start again. But first think exactly what you need this code to do, write the steps out on paper, and take it one step at a time.