gEDA-user: C question
carzrgr8 at optonline.net
carzrgr8 at optonline.net
Fri Mar 2 22:23:22 EST 2007
Look at the following:1) int bob[5] = {0x1, 0x2];2) int const bob[2] = {0x1, 0x2};3) static int const bob[2] = {0x1, 0x2};1 creates an initialized array in ram.2 creates a read-only array - presumably in ROMWhat does 3 do? I think 3 compiles to a read-only area of ram. Am I correct?gene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.seul.org/pipermail/geda-user/attachments/20070303/278d85aa/attachment.html
More information about the geda-user
mailing list