c - Data section of program is too big or not? -


i kinda new c, wrote simple program. have 2 int variables.

#include<stdio.h> #include<conio.h>  int main(){    int x = 3;   int y = 4;   printf("x = %d \n y = %d",x,y);   return 0; } 

so when analysed image exe. found data section 12 kb normal or there cant see, mean program size including pe header,code , imports measures 72 kb size of second.exe

you compiler source file generated code actual source file , not else. executable have been linked other object files , libraries, needed external functions , variables need. of course makes executable bigger contains more code. contains other things needed run program perfectly.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -