if i declared
char string[15];
scanf(" %[^\n],string);
printf("%s",string);
if i input more than 15 chars it will show all,..
string[15] <-- doesn't seems to control it
how do i make it to actually get only 15 chars as stated for the char declaration
thanks