Program name: Difference between revisions

no edit summary
(Added C example)
 
No edit summary
Line 4:
=={{header|C}}==
C has difficulty accessing source code filenames, because C code must be compiled into an executable. However, C can access the executable's filename.
 
 
<lang c>int main(int argc, char **argv) {
Anonymous user