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
Where register variables are stored in c?
What is storage class?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
What are called c variables?
What is the code for 3 questions and answer check in VisualBasic.Net?
What is an array in c?
What is a char in c?
What do you mean by dynamic memory allocation in c? What functions are used?
Why does not c have an exponentiation operator?
explain what is an endless loop?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
What are the application of c?
What is character set?
Write a program which returns the first non repetitive character in the string?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.