Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what type of errors are checked during compilation

Answer Posted / rajasekharreddy

#include<stdio.h>
#define SIZE 10
int main()
{
int arr[SIZE],i,arr_Size,position;

printf("enter array size\t");
scanf("%d",&arr_Size);

printf("enter numbers\t");

for(i=0;i<arr_Size;i++)
{
scanf("%d",&arr[i]);
}

printf("before delete element\n");

for(i=0;i<arr_Size;i++)
{
printf("\t%d",arr[i]);
}

printf("\nenter position to delete\t");

scanf("%d",&position);

--position;

arr[position]=0;

for(i=position;i<(arr_Size-1);i++)
{
arr[i]=arr[i+1];
}

arr_Size--;

printf("after delete element\n");

for(i=0;i<arr_Size;i++)
{
printf("\t%d",arr[i]);
}

return 0;
}

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I get an accurate error status return from system on ms-dos?

1075


What is a static variable in c?

1067


Explain what is the benefit of using enum to declare a constant?

1020


What is the process to generate random numbers in c programming language?

1098


simple program of graphics and their output display

1938


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2307


How can you allocate arrays or structures bigger than 64K?

1083


How many types of operator or there in c?

1023


How can I use a preprocessorif expression to ?

998


Why do we use static in c?

1066


What is the best way to comment out a section of code that contains comments?

1264


What is the difference between far and near ?

1156


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1882


Describe dynamic data structure in c programming language?

1039


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1031