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...

write a program to insert an element at the specified
position in the given array in c language

Answer Posted / bhagya

#include<stdio.h>
#include<conio.h>
void main()
{
char c[20]="this is a string";
int n;
printf("en etr index value to which the element has to
be inserted");
c[n]=getchar();
printf("the string after inserted");
printf("%s",c);
getch();
}

Is This Answer Correct ?    25 Yes 55 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it that not all header files are declared in every C program?

1209


What is the code in while loop that returns the output of given code?

1975


What is enumerated data type in c?

1071


How can you determine the maximum value that a numeric variable can hold?

1226


What does the error 'Null Pointer Assignment' mean and what causes this error?

1211


Lists the benefits of c programming language?

1129


What is a class c rental property?

1089


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

1118


Explain void pointer?

1036


How can I implement a delay, or time a users response, with sub-second resolution?

1068


What are the 4 data types?

1009


How many types of errors are there in c language? Explain

971


What is pivot in c?

1024


How many main () function we can have in a project?

1103


Is c procedural or object oriented?

999