Question: What happens when we try to increment a string in C?

```
#include <stdio.h>

void foobar(char *str1, char *str2)
{
 while (*((str1++)+6) == *((str2++)+8));
}

int main(){
  char str1[] = "Hello World";
  char str2[] = "Foo Bar Bar"; 

  foobar(str1,str2);

  printf``("%s %sn",str1, str2);

  return 0;
}

```

The output was: 

> 
> Hello World Foo Bar Barn
> 
> 
>

Answer: 
When you increment a pointer, it points to the next object. Since these are pointers to characters, incrementing them makes them point to the next character. Your `foobar` function just throws away the incremented values though. It doesn't return them.
Check your printf function, there is a letter 'n' that turns 'bar' into 'barn'.

Luckily, foobar function doesnt do anything, otherwise you'd be stuck in a loop, btw. it never enters the while loop but it does increment the two pointers once. :)