Lets say I have this code,
[code]
void rawr(char *st1);
int main(void) {
char str1[] = "Rawr Rawr Rawr";
rawr(str1);
}
void rawr(char *st1) {
*/How do I grab the first two "rawrs" and make it so that it loops and says things like
/ Rawr
/ awr
/ wr
/ r
/ Thats the output I'm trying to do... just fun
/*
Can anyone help me with this? Reading the online lessons, but pointers and arrays... I dunno. haha, need some help. Any help will be appreciated, thank you.



LinkBack URL
About LinkBacks




