Should be int main( void ), I'm sure someone's probably mentioned this by now to you.There's a FAQ (and probably a compiler warning, though since you use conio.h probably not in your case) about using something other than gets.I don't know why you are doing this, but 15 is past the end of your array, so it's only pure luck that this actually "works" for you.
Quzah.