You don't need to upload the sources when submitting an app, but try to compare a C/C++/Objective-C executable with a FreePascal executable using a Hexeditor of your choice or their symbol dump generated with the "nm" utility. There are some differences there.

But nobody really knows how exactly and if Apple checks every submitted application.