Abnormal behavior of scanf() function.
#include<bits/stdc++.h>
using namespace std;
char c[100][100];
int main()
{
    for(int i=1;i<=10;++i) scanf("%s",c[i]+1);
}
my question is , since the we declare c as a 2 dimensional array , how can scanf take only one dimensional input , without any compilation error? 
is there some default value for the second parameter?
 
     
    