| delorie.com/archives/browse.cgi | search |
| From: | ckern AT junkmailnetnitco DOT net (Chris Kern) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Newbie question |
| Date: | Sat, 27 Sep 1997 02:24:50 GMT |
| Organization: | NetNITCO Internet Services |
| Lines: | 20 |
| Message-ID: | <60hqiu$trk$3@hyperion.nitco.com> |
| Reply-To: | ckern AT junkmailnetnitco DOT net |
| NNTP-Posting-Host: | misc311.nitco.com |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Sorry if this is an FAQ, it's probably just a problem with setting
options.
I typed this program into RHIDE:
main()
{
int num;
num = 2;
printf("Value=%d, Address=%d",num,&num);
}
The compiled .exe file was 80K. Why is this such a large size? The
object file was very small, and the equivalent Pascal program was only
2.5K.
-Chris
Remove "junkmail" in my return address to reply.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |