size of executable file?

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
khan001
Cadet
Posts: 3
Joined: Sat Feb 05, 2011 10:56 pm

size of executable file?

Postby khan001 » Mon Feb 07, 2011 3:28 am

salam everyone.
i am new user in linux . i didnt know much about about linux. iwant to use linux for programming .i have knowledge about C language.

int myarray[50000]={1,2,3,4};
int main(void){
myarray[0]=3;
return 0;
}
_______________

int myarray[50000];
int main(void){
myarray[0]=3;
return 0;
}


i want to check the SIZE OF EXECUTABLE files of above code?please tell me what is the size of above files...and how can i check the size?

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Mon Feb 07, 2011 2:13 pm

Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest