Questions tagged «pointer-arithmetic»

18
අරා සමඟ, [5] == 5 [a] සිදුවන්නේ ඇයි?
සී ක්‍රමලේඛන භාෂාවෙන් (aka: K & R), ජොයෙල් ස්ටැක් ඕවර්ෆ්ලෝ පොඩ්කාස්ට් # 34 හි පෙන්වා ඇති පරිදි, සී හි අරා වල මෙම දේපල ගැන සඳහනක් ඇත:a[5] == 5[a] ජොයෙල් පවසන්නේ එය දර්ශක අංක ගණිතය නිසා නමුත් මට තවමත් තේරෙන්නේ නැති බවයි. ඇයිa[5] == 5[a] ?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.