We normally don't solve people's homework for them, Hardik. We help THEM solve it. It is how one learns. I'm making an exception in this case because you are complicating the problem unduly, and doing the original poster a huge disfavor.
#include <stdio.h>
#include <string.h>

int main (int argc, char* argv[])
    // If your OS makes a string defined as follows a const value (most do)
    char *foo = "Charlotte *NC*is*a*really*cool*place*to*work*and*play";
    // then you'll have to make a copy of the string, thusly:
    char *bar = strdup (foo);
    // or you may just define the string differently, thusly:
    char baz [] = "Charlotte *NC*is*a*really*cool*place*to*work*and*play";

    // In any even, you make the substitution like this:
    char *replace = baz;
    printf ("%s\n", baz);
    while (*replace)
        if (*replace == '*') *replace = ' ';

    printf ("%s\n", baz);
	return 0;
Originally Posted by Output
Charlotte *NC*is*a*really*cool*place*to*work*and*play
Charlotte NC is a really cool place to work and play