#include <stdio.h>
int main()
{
    char c;
    char string [7];
    printf("Introduce a number\n");
    int i = 0;
    while (i <=5) {
        scanf("%c\n", &c);
        string[i] = c;
        i++;
    }
    string[i] = '\0';
    printf("result: %s\n",string);
    return 0;
}
C strings end with a null character, that is '\0'. Therefore you should always append the null character to a character string as the last character since it determines the end of the string. Therefore the line string[i] = '\0'; is necessary (at the end of the while loop, the value of i will be 6, thus pointing to the last element of the character array).
Another correction to your code is the final printf(). You specified the format to be character format ("%c"), which will only output the first character of the string. You should change it to "%s" for printing the whole string.
This program should work since it is a valid C code. If you are having troubles with this code, then it is platform specific. I couldn't run this code on VS2012, but managed to run it on a GNU C Compiler. Try running the code on an online C compiler, it should work just fine.