You can only initialize when you create the object. If you want to fill it after that you need to use strcpy():
strcpy(MyMsg, "This is the stuff to put in MyMsg);
You can only initialize when you create the object. If you want to fill it after that you need to use strcpy():
strcpy(MyMsg, "This is the stuff to put in MyMsg);