I am not sure about ex but it basically has the same syntax as sed and I think this command line is quite as clear (since vgersh99 pointed out the $d). If You can use sed instead.
This will remove the last line of all *.csh files in You current working directory. The -i options means edit in place, which means to replace the original.
Use the command line
if You want to keep the original with a bak extension.
/Lakris
PS
Btw, is this a test or assignment or something?