/*Chop first letter in a given word and print new word*/
#include <stdio.h>
int main()
{
char word[30], nword[30]; /*variable for word and new word*/
printf("Type a word, then we'll see what it becomes when you chop the first letter\n");
word[0]="0";
printf("Remove the first letter and you get %s.\n",word
);
return 0;
}
LypDaG9wIGZpcnN0IGxldHRlciBpbiBhIGdpdmVuIHdvcmQgYW5kIHByaW50IG5ldyB3b3JkKi8KI2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpCnsKCWNoYXIgd29yZFszMF0sIG53b3JkWzMwXTsgLyp2YXJpYWJsZSBmb3Igd29yZCBhbmQgbmV3IHdvcmQqLwoJCglwcmludGYoIlR5cGUgYSB3b3JkLCB0aGVuIHdlJ2xsIHNlZSB3aGF0IGl0IGJlY29tZXMgd2hlbiB5b3UgY2hvcCB0aGUgZmlyc3QgbGV0dGVyXG4iKTsKCQoJc2NhbmYoIiVzIiwmd29yZCk7CgoJd29yZFswXT0iMCI7CQoJcHJpbnRmKCJSZW1vdmUgdGhlIGZpcnN0IGxldHRlciBhbmQgeW91IGdldCAlcy5cbiIsd29yZCk7CgoJcmV0dXJuIDA7Cn0=