- Timestamp:
- May 24, 2024, 2:18:56 PM (4 months ago)
- Branches:
- master
- Children:
- a4808ad
- Parents:
- c721105
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/programs/bkgd-carray-arrty.c
rc721105 rdf699e0 34 34 float ar[10]; 35 35 static_assert( sizeof(float) == 4 ); $\C{// floats (array elements) are 4 bytes}$ 36 static_assert( sizeof(void *) == 8 ); $\C{// pointers are 8 bytes}$36 static_assert( sizeof(void *) == 8 ); $\C{// pointers are 8 bytes}$ 37 37 static_assert( sizeof(ar) == 40 ); $\C{// array}$ 38 38 static_assert( sizeof(&ar) == 8 ); $\C{// pointer to array}$ … … 154 154 155 155 // Local Variables: // 156 // compile-command: "sed -f sedcmd bkgd-carray-arrty.c | gcc -x c -" //156 // compile-command: "sed -f sedcmd bkgd-carray-arrty.c | gcc-11 -Wall -Wextra -x c -" // 157 157 // End: //
Note: See TracChangeset
for help on using the changeset viewer.