Đang chuẩn bị liên kết để tải về tài liệu:
The New C Standard- P14

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Tham khảo tài liệu 'the new c standard- p14', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 6.7.5.3 Function declarators includingprototypes 1598 spelling of the identifier appearing in the prototype declaration is not significant. Whatever happens there will not be a quiet change in program behavior. The cost of a syntax violation the identifier spelling will need to be changed has to be balanced against the benefit of including an identifier in the parameter type list. Some coding guideline documents recommend that any identifiers given for the parameters in a function prototype declaration have the same spelling as those given in the function definition. Such usage may provide readers with a reminder of information about what the parameter denotes. A comment could provide more specific information. Using identifiers in this way also provides visible information that might help detect changes to a functions interface e.g. a change in the order of the parameters . There does not appear to be compelling evidence for any of these options providing sufficient cost benefit for a guideline recommendation to be worthwhile. Example 1 define abc xyz 2 3 void f_1 int abc 4 5 int cost_weight_ratio int cost int weight 6 7 int cost_weight_ratio int weight int cost 8 9 return cost weight 10 1598 A declaration of a parameter as array of type shall be adjusted to qualified pointer to type where the type qualifiers if any are those specified within the and of the array type derivation. array type adjust to pointer to Commentary This is a requirement on the implementation. 1 void f int a1 10 equivalent to int a1 2 const int a2 10 equivalent to const int a2 3 int a3 const 10 equivalent to int const a3 4 const int a4 const 10 equivalent to const int const a4 5 . Occurrences of an object not declared as a parameter having an array type are implicitly converted to a pointer type in most contexts. The parameter declaration in 729 converted to pointer 1 void f int a const 10 const 20 2 . 1568 array pa-ic TiATi nil I A l hv tliA cxmtciv Rut zir ildtAC o r lnctrciint rameter is

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.