can I reduce executable file size by defining funtions in source code?

230 views Asked by At

In interpreted languages like python I can reduce the size of scripts by defining functions inside it. In the languages like c, c++ can I use the same trick to reduce the size of executable file(not the source file)? Does the compiler compile the part which includes the function only one time or does it repeat it at every time when the funtion is called in the source code?

0

There are 0 answers