By "being correct" probably people mean to write a good code and good code means the code people can easily understand and maintain and not that there are no mistakes (especially if you been writing code on whiteboard). Software writing is about linguistics and writing on the first place.
After all every technical interview is about understanding:
by asking you telling how you would solve X or by writing a simple pseudo solution or code in programming language of your choice. However, at the end there is usually a bigger coding test.
Unfortunately, it depends on what company needs and interviewer him/herself.
Whenever I interview people I always want to know mostly the person behind those skills because skills you can learn if you have grit, passion and focus. Motivation, passion, right attitude, constant self analysis and learning matters more then talents, yet any professional I ask one simple question regardless is it developer, designer, salesman or whoever: