Define a function to perform shift right. Using it define a function void insert(float a[],int p,int

Define a function to perform shift right. Using it define a function void insert(float a[],int p,int n,int b). It inserts pth element as b. Let n=5 and initial array is 3,6,2,8,3 then call of insert(a,2,5,11) will make the array as 3,6,11,2,8,3

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion