I've got a define in C, looks like this
#define ROW_SIZE ID_SIZE + USERNAME_SIZE + EMAIL_SIZE
It evaluates to 293 Then I do this
uint32_t num_rows = pager->file_length / ROW_SIZE;
pager->file_length
is 0 for sure
The result of num_rows
is 289. Even 0 / ROW_SIZE
evaluates to 289.
Why is the answer to expression wrong?