C Programming Absolute Beginner's Guide (3rd Edition)

(Romina) #1
for, 131 - 135 , 138 - 139
nested, 210
relational test, 134
semicolons, 133
infinite, 123
nesting, 135
terminating, break statement, 142 - 144
while, 124 - 129

M


machine language, 10


main() function, 16 - 17 , 21 - 22 , 59 , 62 , 96 , 260 , 285 , 288 , 295 - 296 , 308 - 312
#include directives, 60


maintenance, programs, 24
malloc() function, 246 - 252


math
compound assignment operators, 84 - 87
addition, 86
multiplication, 86
order, 88
updating variables, 85 - 86
operators, 74 - 77
assignment, 80 - 81
order of, 77 - 79
parentheses rules, 79


math functions, 181 - 184
generating random values, 187 - 191
logarithmic, 184 - 186
trigonometric, 184 - 186


members, 257
memory, heap, 243 - 246


allocating, 244 - 249
deallocating, 244 - 246
deficiencies, 249
freeing, 250
multiple allocations, 250 - 255
pointer variables, 243 - 244

memory addresses, 222
mixing data types, 89


mode strings, fopen() function, 270

Free download pdf