Is this expression correct in C preprocessor [closed]
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I want to do the following arithmetic functions in a C pre-processor include statement when I send in the variable x . #define calc_addr_data_reg (x) ( base_offset + ((x/7) * 0x20) + data_reg_offset) How would I