My C code gives me result that is not correct(array operation) : It should be simple,two arrays,one with 5 other with 6 elements.

    #include <stdlib.h>
    #include <stdio.h>
    
    int main()
    {
    int i=0;
    int k=0;
    int v[5] = {2,3,4,5,6};
    int g[6];
    
    for( i = 1; i <= 6; i++ ){
    	k= i + 1;
    	if ( 1 == i && 2 == i)
    	{
    	g[k]=v[i];
        }
        else
        {
        g[k]=(v[i]+10);
        }
        printf("%d\n",g[k]);
       }
       return 0;
    }

I got this

    13
    14
    15
    16
    32776
    10

I really wanted 

    2 3 13 14 15 16

Where is my mistake?Should I create function or what?

