I was asked an interview question to change the entry point of a C or C++ program from main() to any other function. How is it possible?
main()
On windows there is another (rather unorthodox) way to change the entry point of a program: TLS. See this for more explanations: http://isc.sans.edu/diary.html?storyid=6655
TLS