#include <stdio.h>
#include <stdlib.h>
void main()
    char str[30],str1[30],str2[50];
    int i,n,j,k;
    printf("enter the string: ");
    printf("enter the inserting string: ");
    printf("enter the position: ");


no errors for example output will be like this
enter the string:rohinnj
enter the inserting string:kumar
enter the position to be inserted:5
the inserted string is:rohinnkumarj

but i dont get correct output like this

If you don't bother to read my replies then I'm going to stop trying to help you. How do I know you aren't reading my replies? Because if you were, then you'd realise that I already answered this one with another post on a similar topic.

hey deceptikon its not like that i didnt read ur replies bcoz some times its difficult to follow ur answers(it means i didnt understand what ur replying).i dont particularly mention u .and iam bit shy to ask the questions regularly

I'm more than happy to explain anything about my posts, so please don't be afraid to ask for clarification. If you stay quiet, I'll just assume that you understood and expect you to apply that understanding in future posts.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.