keil error #1-D: last line of file ends without a newline

After entering the last line, you should make sure that it is in the first column, and the new line can’t have empty characters such as spaces, so as not to give this warning
keil needs the last two lines to be empty and cannot have characters such as spaces.


Read More: