正在加载图片...
The global and/or static data of a program can be fixed in memory prior to execution Data are allocated separately in a fixed area in a similar fashion to the code In Fortran 77.all data are in this class In Pascal, global variables are in this class In c. the external and static variables are in this class The constants are usually allocated memory in the global/static area Const declarations of c and pascal Literal values used in the code such as"Hello%Dn"and Integer value 12345 Printf(“Hllo%dn”,12345)• The global and/or static data of a program can be fixed in memory prior to execution – Data are allocated separately in a fixed area in a similar fashion to the code • In Fortran77, all data are in this class; • In Pascal, global variables are in this class; • In C, the external and static variables are in this class • The constants are usually allocated memory in the global/static area – Const declarations of C and Pascal; – Literal values used in the code, • such as “Hello%D\n ” and Integer value 12345: • Printf(“Hello %d\n ”,12345);
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有