I just made a 'Hello World' program
#include<stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
exe file size = 15.5 KB
Source file size = 79.0 B
Then i made a data structure program (implementing stack, queue, deque)
exe file size = 21.9 KB
Source file size = 17.3 KB
So i guess it's not linearly dependent with its source file
So what really decides the size of an exe file.
PS - I think it is also compiler dependent 'coz exe files on turbo c++ are larger compared to those of code blocks