Comment Re:Write-only code. (Score 1) 757
This:
float vector[9] = { 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9};
Compiles fine in GCC, and it doesnt use pointers, it assigns the values directly to the array (MOV instructions on the generated assembly code)
float vector[9] = { 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9};
Compiles fine in GCC, and it doesnt use pointers, it assigns the values directly to the array (MOV instructions on the generated assembly code)