While inputting the strings I am getting warnings like
error: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[10]'
In application
#include<stdio.h>
int main(void)
{
char a[100][10];
int s,i,k=0;
scanf("%d",&s);
for(i=0;i<s;i++)
{
scanf("%s",&a[i]);
}
}
%sviascanf, don't use the & with the variable name.