answersLogoWhite

0

You cannot delete from an array.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Why the index of an array be a positive number?

Since an array cannot contain a negative number of items, the size of an array must be at least 0. So if you ever tried to retrieve the element at a negative index in an array, it would automatically be understood to be out-of-bounds.


How can you retrieve deleted bookmarks from Firefox 1.92?

No... you can't retrieve bookmarks


Write a program to delete an array element?

#include <stdio.h> #include <conio.h> #define size 10 void main() { int a[size],del,j,i; clrscr(); for(i=0;i<size;i++) {j=i+1; printf(" Enter the %d element of array",j); scanf("%d",&a[i]);} printf(" Enter the element to be deleted"); scanf("%d",&del); del--; for(i=del;i<size-1;i++) a[i]=a[i+1]; a[size-1]=0; printf(" Element has been deleted"); printf(" Array now is..... "); for(i=0;i<size;i++) printf("%d ",a[i]); getch(); }


How can you retrieve a deleted building on Farmville?

You cannot.


How do you retrieve deleted facebook posts?

no good


Can you recover a screen name and email address that AOL has deleted?

how can i retrieve deleted screenname


Can you retrieve deleted iPod applications?

You can't get them back


Can you retrieve deleted files off a mobile phone?

No.


Can you retrieve a photo you tweeted after it has been deleted?

No you can't.


How do you retrieve deleted data on my sims kingdom ds?

If it is already deleted you can't retrieve it.


Can you retrieve deleted text messages from blackberry?

No but your phone company might be able to I think. Why would you want to retrieve a deleted text message from blackberry? It's from a...........................friend, and I deleted it accidentally.


What is the value of the kth smallest element in the given array?

The value of the kth smallest element in the array is the kth element when the array is sorted in ascending order.